1
linux/drivers/usb/gadget
Eric Sesterhenn 55359021b9 USB: fix signedness issue in drivers/usb/gadget/ether.c
another gcc 4.1 signdness warning:

drivers/usb/gadget/ether.c:2028: warning: comparison of unsigned expression < 0 is always false

length is assigned the value of usb_ep_queue() which returns an int.
Directly after this it is checked for < 0, which can never be true.  Making
length an int makes the error check work again.

Signed-off-by: Eric Sesterhenn <snakebyte@gmx.de>
Acked-by: David Brownell <david-b@pacbell.net>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2006-09-27 11:58:55 -07:00
..
at91_udc.c USB: Make file operations structs in drivers/usb const. 2006-09-27 11:58:52 -07:00
at91_udc.h USB: AT91 UDC updates, mostly power management 2006-08-02 16:41:41 -07:00
config.c
dummy_hcd.c USB: dummy-hcd: disable interrupts during req->complete 2006-08-02 16:41:42 -07:00
epautoconf.c [PATCH] USB: gadget section fixups 2006-07-12 16:03:24 -07:00
ether.c USB: fix signedness issue in drivers/usb/gadget/ether.c 2006-09-27 11:58:55 -07:00
file_storage.c [PATCH] USB: gadget section fixups 2006-07-12 16:03:24 -07:00
gadget_chips.h [PATCH] USB: fix gadget_is_musbhdrc() 2006-04-14 11:12:24 -07:00
gmidi.c USB: gmidi: New USB MIDI Gadget class driver. 2006-09-27 11:58:52 -07:00
goku_udc.c [PATCH] irq-flags: usb: Use the new IRQF_ constants 2006-07-02 13:58:53 -07:00
goku_udc.h
inode.c USB gadget: gadgetfs dont try to lock before free 2006-09-27 11:58:54 -07:00
Kconfig USB: gmidi: New USB MIDI Gadget class driver. 2006-09-27 11:58:52 -07:00
lh7a40x_udc.c [ARM] Fix lh7a40x_udc.c 2006-07-03 15:32:47 +01:00
lh7a40x_udc.h Remove obsolete #include <linux/config.h> 2006-06-30 19:25:36 +02:00
Makefile USB: gmidi: New USB MIDI Gadget class driver. 2006-09-27 11:58:52 -07:00
ndis.h
net2280.c [PATCH] irq-flags: usb: Use the new IRQF_ constants 2006-07-02 13:58:53 -07:00
net2280.h [PATCH] USB: linux/usb/net2280.h common definitions 2006-04-14 11:12:25 -07:00
omap_udc.c USB: Make file operations structs in drivers/usb const. 2006-09-27 11:58:52 -07:00
omap_udc.h
pxa2xx_udc.c USB: pxa2xx_udc understands GPIO based VBUS sensing 2006-09-27 11:58:48 -07:00
pxa2xx_udc.h USB: pxa2xx_udc understands GPIO based VBUS sensing 2006-09-27 11:58:48 -07:00
rndis.c [PATCH] USB: gadget section fixups 2006-07-12 16:03:24 -07:00
rndis.h [PATCH] USB: gadget section fixups 2006-07-12 16:03:24 -07:00
serial.c [PATCH] USB: gadget section fixups 2006-07-12 16:03:24 -07:00
usbstring.c
zero.c [PATCH] USB: gadget section fixups 2006-07-12 16:03:24 -07:00