1
linux/drivers/usb/gadget
David Brownell e7b13ec923 USB: gadget: ethernet error path potential oops fix
Fix potential (never-observed) oops on rare error path,
bugzilla #9594.  Fix uses the same test as used earlier.

Also make the adjacent "else" block look like an "else" block
instead of hiding like a bug.

Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2008-02-01 14:34:58 -08:00
..
amd5536udc.c USB: usb peripheral controller driver oops avoidance 2008-02-01 14:34:52 -08:00
amd5536udc.h USB: amd5536 UDC driver (in GEODE southbridge) 2007-07-19 17:46:05 -07:00
at91_udc.c USB: usb peripheral controller driver oops avoidance 2008-02-01 14:34:52 -08:00
at91_udc.h USB: Spelling fixes 2008-02-01 14:34:57 -08:00
atmel_usba_udc.c USB: gadget code switches to pr_err() and friends 2008-02-01 14:34:51 -08:00
atmel_usba_udc.h USB: gadget code switches to pr_err() and friends 2008-02-01 14:34:51 -08:00
config.c USB: move <linux/usb_gadget.h> to <linux/usb/gadget.h> 2007-10-12 14:55:31 -07:00
dummy_hcd.c USB: dummy_hcd: change the default power budget 2008-02-01 14:34:55 -08:00
epautoconf.c USB: move <linux/usb_gadget.h> to <linux/usb/gadget.h> 2007-10-12 14:55:31 -07:00
ether.c USB: gadget: ethernet error path potential oops fix 2008-02-01 14:34:58 -08:00
file_storage.c USB: gadget code switches to pr_err() and friends 2008-02-01 14:34:51 -08:00
fsl_usb2_udc.c USB: Spelling fixes 2008-02-01 14:34:57 -08:00
fsl_usb2_udc.h USB: gadget code switches to pr_err() and friends 2008-02-01 14:34:51 -08:00
gadget_chips.h USB: m66592-udc: fixes some problems 2007-07-19 17:46:05 -07:00
gmidi.c USB: gadget code switches to pr_err() and friends 2008-02-01 14:34:51 -08:00
goku_udc.c USB: usb peripheral controller driver oops avoidance 2008-02-01 14:34:52 -08:00
goku_udc.h USB: goku_udc trivial cleanups 2007-07-12 16:34:43 -07:00
inode.c USB: gadget code switches to pr_err() and friends 2008-02-01 14:34:51 -08:00
Kconfig USB: add Printer Gadget Driver 2008-02-01 14:34:49 -08:00
lh7a40x_udc.c USB: usb peripheral controller driver oops avoidance 2008-02-01 14:34:52 -08:00
lh7a40x_udc.h USB: move <linux/usb_gadget.h> to <linux/usb/gadget.h> 2007-10-12 14:55:31 -07:00
m66592-udc.c USB: usb peripheral controller driver oops avoidance 2008-02-01 14:34:52 -08:00
m66592-udc.h USB: m66592-udc: Add support for SH7722 USBF 2008-02-01 14:34:48 -08:00
Makefile USB: add Printer Gadget Driver 2008-02-01 14:34:49 -08:00
ndis.h
net2280.c USB: Add missing "space" to printk messages 2008-02-01 14:34:49 -08:00
net2280.h USB: net2280: don't send unwanted zero-length packets 2006-12-01 14:23:36 -08:00
omap_udc.c USB: Spelling fixes 2008-02-01 14:34:57 -08:00
omap_udc.h USB: gadget code switches to pr_err() and friends 2008-02-01 14:34:51 -08:00
printer.c USB: add Printer Gadget Driver 2008-02-01 14:34:49 -08:00
pxa2xx_udc.c USB: gadget: pxa2xx_udc supports inverted vbus 2008-02-01 14:34:57 -08:00
pxa2xx_udc.h USB: gadget code switches to pr_err() and friends 2008-02-01 14:34:51 -08:00
rndis.c USB: gadget code switches to pr_err() and friends 2008-02-01 14:34:51 -08:00
rndis.h USB gadget rndis: fix struct rndis_packet_msg_type unaligned bug 2007-04-27 13:28:40 -07:00
s3c2410_udc.c USB: s3c2410_udc: minor irq handler cleanups 2008-02-01 14:34:48 -08:00
s3c2410_udc.h USB Gadget driver for Samsung s3c2410 ARM SoC 2007-07-12 16:34:30 -07:00
serial.c USB: gadget code switches to pr_err() and friends 2008-02-01 14:34:51 -08:00
usbstring.c USB: move <linux/usb_gadget.h> to <linux/usb/gadget.h> 2007-10-12 14:55:31 -07:00
zero.c USB: gadget code switches to pr_err() and friends 2008-02-01 14:34:51 -08:00