linux_dsm_epyc7002/drivers/usb/gadget
Felipe Balbi 0878263b68 usb: gadget: composite: avoid kernel oops with bad gadgets
If a gadget driver loaded to a Superspeed-capable
peripheral controller, using a Superspeed cable,
doesn't provide Superspeed descriptors, we will get
a NULL pointer dereference.

In order to avoid that situation, we will try to
find any valid descriptors we can. If no set of
descriptors is passed in, then we'll let that gadget
oops anyhow.

Signed-off-by: Felipe Balbi <felipe.balbi@linux.intel.com>
2016-04-28 09:02:00 +03:00
..
function usb: f_mass_storage: test whether thread is running before starting another 2016-04-19 11:11:56 +03:00
legacy usb: f_mass_storage: test whether thread is running before starting another 2016-04-19 11:11:56 +03:00
udc usb: gadget: pch_udc: don't free devm allocated memory 2016-04-19 11:11:56 +03:00
composite.c usb: gadget: composite: avoid kernel oops with bad gadgets 2016-04-28 09:02:00 +03:00
config.c usb: gadget: Update function for SuperSpeedPlus 2016-03-04 15:14:23 +02:00
configfs.c Configfs changes for the 4.6 merge window: 2016-03-17 16:25:46 -07:00
configfs.h
epautoconf.c
functions.c
Kconfig usb: common: rework CONFIG_USB_COMMON logic 2016-04-18 15:23:36 +03:00
Makefile
u_f.c usb: gadget: define free_ep_req as universal function 2015-12-15 09:12:41 -06:00
u_f.h usb: gadget: define free_ep_req as universal function 2015-12-15 09:12:41 -06:00
u_os_desc.h
usbstring.c