* drivers/usb/gadget/r8a66597-udc.h:139: warning: ‘data’ may be used uninitialized in this function
@ 2010-05-19 11:00 Daniel Mack
0 siblings, 0 replies; only message in thread
From: Daniel Mack @ 2010-05-19 11:00 UTC (permalink / raw)
To: linux-kernel
Cc: David Brownell, Greg Kroah-Hartman, Paul Mundt, Magnus Damm,
Yoshihiro Shimoda, Andrea Gelmini, linux-usb
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
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2010-05-19 11:00 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-05-19 11:00 drivers/usb/gadget/r8a66597-udc.h:139: warning: ‘data’ may be used uninitialized in this function Daniel Mack
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.