[PATCH] fix rfkill initialization value - use this instead

Sean McNeil sean at mcneil.com
Fri Nov 28 05:01:31 CET 2008

Really shouldn't have any compiler warnings. This includes a check on 
the rfkill_register which is marked as must check. Please use this patch 
instead for clean compilation.

Sean McNeil wrote:
> It turns out the code I used for reference was setting an invalid 
> initial value for the state. Setting it to the off state should 
> prevent the warning trace seen by Werner. I didn't see it as my dmesg 
> buffer is flooded with other messages, so I can't verify it is gone 
> either.
> Sean

-------------- next part --------------
A non-text attachment was scrubbed...
Name: rfkill_init.patch
Type: text/x-diff
Size: 693 bytes
Desc: not available
Url : http://lists.openmoko.org/pipermail/openmoko-kernel/attachments/20081128/647f1b36/attachment.patch 

More information about the openmoko-kernel mailing list