kernel_optimize_test/drivers/usb
Bjorn Andersson 6f01c0fb8e usb: typec: mux: Check dev_set_name() return value
[ Upstream commit b9fa0292490db39d6542f514117333d366ec0011 ]

It's possible that dev_set_name() returns -ENOMEM, catch and handle this.

Fixes: 3370db3519 ("usb: typec: Registering real device entries for the muxes")
Reported-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Reviewed-by: Andy Shevchenko <andy.shevchenko@gmail.com>
Acked-by: Heikki Krogerus <heikki.krogerus@linux.intel.com>
Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org>
Link: https://lore.kernel.org/r/20220422222351.1297276-4-bjorn.andersson@linaro.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2022-06-14 18:32:32 +02:00
..
atm
c67x00
cdns3 usb: cdns3: Fix issue for clear halt endpoint 2022-05-09 09:04:59 +02:00
chipidea
class usb: cdc-wdm: fix reading stuck on device close 2022-05-18 10:23:46 +02:00
common usb: ulpi: Call of_node_put correctly 2022-02-16 12:54:28 +01:00
core usb: core: hcd: Add support for deferring roothub registration 2022-06-09 10:20:48 +02:00
dwc2 usb: dwc2: drd: fix soft connect when gadget is unconfigured 2022-03-02 11:42:55 +01:00
dwc3 usb: dwc3: pci: Fix pm_runtime_get_sync() error checking 2022-06-14 18:32:31 +02:00
early
gadget usb: gadget: fix race when gadget driver register via ioctl 2022-05-25 09:17:51 +02:00
host xhci: Allow host runtime PM as default for Intel Alder Lake N xHCI 2022-06-09 10:20:48 +02:00
image
isp1760
misc usb: misc: fix improper handling of refcount in uss720_probe() 2022-05-09 09:04:58 +02:00
mon
mtu3 usb: mtu3: fix USB 3.0 dual-role-switch from device to host 2022-05-09 09:04:56 +02:00
musb usb: musb: Fix missing of_node_put() in omap2430_probe 2022-06-14 18:32:31 +02:00
phy usb: phy: generic: Get the vbus supply 2022-05-09 09:04:59 +02:00
renesas_usbhs
roles
serial USB: serial: option: add Quectel BG95 modem 2022-06-09 10:20:48 +02:00
storage USB: storage: karma: fix rio_karma_init return 2022-06-14 18:32:31 +02:00
typec usb: typec: mux: Check dev_set_name() return value 2022-06-14 18:32:32 +02:00
usbip usb: usbip: add missing device lock on tweak configuration cmd 2022-06-14 18:32:31 +02:00
Kconfig
Makefile
usb-skeleton.c