Hi David,

Thanks for catching this. Fix applied.

On 11/17/2015 11:45 PM, David Binderman wrote:
Hello there,

[linux-4.4-rc1/drivers/leds/led-class-flash.c:111]: (style) Checking if 
unsigned variable 'state' is less than zero.

Source code is


    if (state < 0 || state> 1) {

but

   unsigned long state;


Regards

David Binderman

                                        



--
Best Regards,
Jacek Anaszewski
--
To unsubscribe from this list: send the line "unsubscribe linux-leds" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to