mirror-linux/drivers/usb/gadget
Dan Carpenter 016da9c65f usb: gadget: udc: fix NULL dereference in remove()
The "udc" pointer was never set in the probe() function so it will
lead to a NULL dereference in udc_pci_remove() when we do:

	usb_del_gadget_udc(&udc->gadget);

Signed-off-by: Dan Carpenter <dan.carpenter@linaro.org>
Link: https://lore.kernel.org/r/ZG+A/dNpFWAlCChk@kili
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2023-05-29 15:24:24 +01:00
..
function usb: gadget: f_fs: Add unbind event before functionfs_unbind 2023-05-29 15:24:08 +01:00
legacy Merge 6.3-rc6 into usb-next 2023-04-10 08:56:59 +02:00
udc usb: gadget: udc: fix NULL dereference in remove() 2023-05-29 15:24:24 +01:00
Kconfig usb: uvc: move uvc_fmts and uvc_format_by_guid to own compile unit 2023-01-31 09:40:42 +01:00
Makefile
composite.c usb: gadget: Handle function suspend feature selector 2023-03-29 10:27:01 +02:00
config.c
configfs.c usb: gadget: Properly configure the device for remote wakeup 2023-03-29 10:27:00 +02:00
configfs.h
epautoconf.c
functions.c
u_f.c
u_f.h
u_os_desc.h
usbstring.c