1
linux/drivers/usb/gadget
Julia Lawall ff3b968cee USB: gadget: Use ERR_PTR/IS_ERR
Use ERR_PTR and IS_ERR rather than mixing integers and pointers.

The semantic match that finds this problem is as follows:
(http://coccinelle.lip6.fr/)

// <smpl>
@@
expression *E;
@@

* E < 0
// </smpl>

Signed-off-by: Julia Lawall <julia@diku.dk>
Acked-by: David Brownell <dbrownell@users.sourceforge.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2009-12-23 11:34:10 -08:00
..
amd5536udc.c usb: amd5536udc: fixed shared interrupt bug and warning oops 2009-11-30 16:43:15 -08:00
amd5536udc.h
at91_udc.c USB: modifications for at91sam9g10 2009-12-11 11:55:15 -08:00
at91_udc.h
atmel_usba_udc.c
atmel_usba_udc.h
audio.c USB audio gadget: handle endpoint control requests at the function level 2009-12-11 11:55:15 -08:00
cdc2.c
ci13xxx_udc.c
ci13xxx_udc.h
composite.c USB: composite: usb_composite_unregister() no longer __exit 2009-12-11 11:55:23 -08:00
config.c
dummy_hcd.c
epautoconf.c
ether.c USB: Added USB_ETH_RNDIS to use instead of CONFIG_USB_ETH_RNDIS 2009-12-11 11:55:27 -08:00
f_acm.c USB: Interface Association Descriptors added to CDC & RNDIS 2009-12-11 11:55:19 -08:00
f_audio.c USB: gadget: Use ERR_PTR/IS_ERR 2009-12-23 11:34:10 -08:00
f_ecm.c
f_eem.c
f_loopback.c
f_mass_storage.c USB: g_mass_storage: thread_exits callback added 2009-12-11 11:55:23 -08:00
f_obex.c
f_phonet.c
f_rndis.c USB: Interface Association Descriptors added to CDC & RNDIS 2009-12-11 11:55:19 -08:00
f_serial.c
f_sourcesink.c
f_subset.c
file_storage.c Merge branch 'for_linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jack/linux-fs-2.6 2009-12-11 15:31:13 -08:00
fsl_mx3_udc.c
fsl_qe_udc.c
fsl_qe_udc.h powerpc/qe&cpm: Implement static inline stubs for non-QE/CPM builds 2009-11-11 21:43:20 -06:00
fsl_udc_core.c USB: fsl_udc_core: Fix kernel oops on module removal 2009-10-30 14:57:33 -07:00
fsl_usb2_udc.h
g_zero.h
gadget_chips.h
gmidi.c
goku_udc.c
goku_udc.h
imx_udc.c USB: gadget: imx_udc: Use resource size 2009-10-09 13:52:07 -07:00
imx_udc.h
inode.c
Kconfig USB: g_multi kconfig: fix depends and help text 2009-12-11 11:55:26 -08:00
langwell_udc.c
langwell_udc.h
lh7a40x_udc.c
lh7a40x_udc.h
m66592-udc.c
m66592-udc.h
Makefile USB: g_multi: Multifunction Composite Gadget added 2009-12-11 11:55:23 -08:00
mass_storage.c USB: g_mass_storage: thread_exits callback added 2009-12-11 11:55:23 -08:00
multi.c USB: Added USB_ETH_RNDIS to use instead of CONFIG_USB_ETH_RNDIS 2009-12-11 11:55:27 -08:00
ndis.h
net2280.c
net2280.h
omap_udc.c omap1: omap_udc: Add clocking and disable vbus sense for omap7xx 2009-11-22 10:24:32 -08:00
omap_udc.h
printer.c
pxa25x_udc.c
pxa25x_udc.h
pxa27x_udc.c tree-wide: fix assorted typos all over the place 2009-12-04 15:39:55 +01:00
pxa27x_udc.h
r8a66597-udc.c
r8a66597-udc.h
rndis.c
rndis.h
s3c2410_udc.c
s3c2410_udc.h
s3c-hsotg.c
serial.c
storage_common.c USB: g_mass_storage: code cleaned up and comments updated 2009-12-11 11:55:22 -08:00
u_audio.c
u_audio.h
u_ether.c
u_ether.h USB: Added USB_ETH_RNDIS to use instead of CONFIG_USB_ETH_RNDIS 2009-12-11 11:55:27 -08:00
u_phonet.h
u_serial.c
u_serial.h
usbstring.c
zero.c