[<prev] [next>] [day] [month] [year] [list]
Message-ID: <20100519110030.GG30804@buzzloop.caiaq.de>
Date: Wed, 19 May 2010 13:00:30 +0200
From: Daniel Mack <daniel@...que.org>
To: linux-kernel@...r.kernel.org
Cc: David Brownell <dbrownell@...rs.sourceforge.net>,
Greg Kroah-Hartman <gregkh@...e.de>,
Paul Mundt <lethal@...ux-sh.org>,
Magnus Damm <damm@...l.co.jp>,
Yoshihiro Shimoda <shimoda.yoshihiro@...esas.com>,
Andrea Gelmini <andrea.gelmini@...ma.net>,
linux-usb@...r.kernel.org
Subject: drivers/usb/gadget/r8a66597-udc.h:139: warning: ‘data’ may be used uninitialized in this function
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@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists