linux-kernel-test/drivers/usb/gadget
Alan Stern c93e64e912 usb: udc: core: add device_del() call to error pathway
This patch fixes a bug in the error pathway of
usb_add_gadget_udc_release() in udc-core.c.  If the udc registration
fails, the gadget registration is not fully undone; there's a
put_device(&gadget->dev) call but no device_del().

CC: <stable@vger.kernel.org>
Acked-by: Peter Chen <peter.chen@freescale.com>
Signed-off-by: Alan Stern <stern@rowland.harvard.edu>
Signed-off-by: Felipe Balbi <balbi@ti.com>
2015-08-03 09:54:18 -05:00
..
function usb: gadget: f_printer: actually limit the number of instances 2015-07-27 10:19:50 -05:00
legacy Merge branch 'for-next' of git://git.kernel.org/pub/scm/linux/kernel/git/nab/target-pending 2015-07-04 14:13:43 -07:00
udc usb: udc: core: add device_del() call to error pathway 2015-08-03 09:54:18 -05:00
composite.c usb: gadget: composite: Fix NULL pointer dereference 2015-07-06 12:34:08 -05:00
config.c
configfs.c configfs: fix kernel infoleak through user-controlled format string 2015-07-17 16:39:53 -07:00
configfs.h
epautoconf.c usb: gadget: autoconf: net2280: match hardware and usb ep address 2015-05-26 10:40:21 -05:00
functions.c
Kconfig usb: gadget: f_printer: fix dependencies 2015-03-24 11:35:21 -05:00
Makefile usb: gadget: use $(srctree) instead of $(PWD) for includes 2014-08-29 15:53:46 -05:00
u_f.c
u_f.h
u_os_desc.h usb: gadget: u_os_desc: helper functions for accessing ext prop buffer 2014-07-10 08:36:51 -05:00
usbstring.c