]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
USB: "sparse" cleanups for usb gadgets
authorDavid Brownell <david-b@pacbell.net>
Mon, 30 Jul 2007 19:31:07 +0000 (12:31 -0700)
committerGreg Kroah-Hartman <gregkh@suse.de>
Mon, 30 Jul 2007 20:27:47 +0000 (13:27 -0700)
commita9475226977917afd5a85621f8a3d7f380a9da31
treed153161062da7286eb4e83e325d5a1f75f3a5cb8
parentbc71e479cdb2caab9b4473f7ad508c3fcb142486
USB: "sparse" cleanups for usb gadgets

This removes complaints about the gadget stack which are generated by
the currrent "sparse":  it doesn't like the fact that zero is the null
pointer.  (Last I checked, C guarantees that's correct ...)

Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/usb/gadget/config.c
drivers/usb/gadget/epautoconf.c
drivers/usb/gadget/ether.c
drivers/usb/gadget/inode.c
drivers/usb/gadget/m66592-udc.c
drivers/usb/gadget/zero.c