Re: [PATCH] Staging: bcm: Move directives for the preprocessor statement to enum value in led_control.h

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]


On Sun, Feb 12, 2012 at 10:24:53PM -0500, Kevin McKinney wrote:
> DRIVER_HALT is a driver state that was originally
> defined as a #define statement. This patch moves
> it to the LedEvents type as an enumerated
> value for the purpose of removing a compile time warning.
> 

Normally you would cut and paste the warning into the commit
message.

drivers/staging/bcm/led_control.c: In function ‘LEDControlThread’:
drivers/staging/bcm/led_control.c:817:3: warning: case value ‘255’ not in enumerated type ‘LedEventInfo_t’ [-Wswitch]

regards,
dan carpenter

Attachment: signature.asc
Description: Digital signature

_______________________________________________
devel mailing list
devel@xxxxxxxxxxxxxxxxxxxxxx
http://driverdev.linuxdriverproject.org/mailman/listinfo/devel

[Video for Linux]     [Mplayer Users]     [Linux USB Devel]     [Linux Audio Users]     [Photos]     [Yosemite Photos]     [Free Singles Community]     [Linux Kernel]     [Linux SCSI]     [XFree86]     [Devices]     [Yosemite Backpacking]

Add to Google Powered by Linux