drivers/usb/gadget/r8a66597-udc.h:139: warning: âdataâ may be used uninitialized in this function
From: Daniel Mack
Date: Wed May 19 2010 - 07:00:53 EST
Hi,
I stumbled over the r8a66597 UDC gadget driver as the the compiler
complained about the static inline function r8a66597_read():
drivers/usb/gadget/r8a66597-udc.c: In function âirq_packet_readâ:
drivers/usb/gadget/r8a66597-udc.h:139: warning: âdataâ may be used uninitialized in this function
drivers/usb/gadget/r8a66597-udc.h:139: note: âdataâ was declared here
I know nothing about the code, but this function indeed looks bogus. Can
anyone have a look at this? Also, I wonder whether this function is
actually too big for a static inline.
Thanks,
Daniel
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/