android_kernel_motorola_sm6375/drivers/usb
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Jiasheng Jiang fab2536ba1 usb: storage: Add check for kcalloc
[ Upstream commit c35ca10f53c51eeb610d3f8fbc6dd6d511b58a58 ]

As kcalloc may return NULL pointer, the return value should
be checked and return error if fails as same as the ones in
alauda_read_map.

Fixes: e80b0fade0 ("[PATCH] USB Storage: add alauda support")
Acked-by: Alan Stern <[email protected]>
Signed-off-by: Jiasheng Jiang <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Signed-off-by: Sasha Levin <[email protected]>
2023-01-18 11:41:26 +01:00
..
atm
c67x00
cdns3 usb: cdns3: fix issue with rearming ISO OUT endpoint 2022-09-28 11:04:02 +02:00
chipidea usb: chipidea: fix deadlock in ci_otg_del_timer 2022-11-25 17:42:18 +01:00
class USB: cdc-acm: Add Icom PMR F3400 support (0c26:0020) 2022-09-15 12:04:52 +02:00
common
core usb: add NO_LPM quirk for Realforce 87U Keyboard 2022-11-25 17:42:18 +01:00
dwc2 usb: dwc2: fix wrong order of phy_power_on and phy_init 2022-09-15 12:04:52 +02:00
dwc3 usb: dwc3: exynos: Fix remove() function 2022-12-08 11:22:59 +01:00
early
gadget usb: gadget: f_hid: fix refcount leak on error path 2023-01-18 11:41:25 +01:00
host xhci: Remove device endpoints from bandwidth list when freeing the device 2022-11-03 23:56:53 +09:00
image
isp1760
misc usb: idmouse: fix an uninit-value in idmouse_open 2022-10-26 13:22:58 +02:00
mon usb: mon: make mmapped memory read only 2022-10-15 07:54:38 +02:00
mtu3
musb usb: musb: remove extra check in musb_gadget_vbus_draw 2023-01-18 11:40:49 +01:00
phy
renesas_usbhs usb: renesas: Fix refcount leak bug 2022-08-25 11:18:33 +02:00
roles usb: roles: fix of node refcount leak in usb_role_switch_is_parent() 2023-01-18 11:41:24 +01:00
serial USB: serial: f81534: fix division by zero on line-speed change 2023-01-18 11:40:48 +01:00
storage usb: storage: Add check for kcalloc 2023-01-18 11:41:26 +01:00
typec usb: typec: tcpci: fix of node refcount leak in tcpci_register_port() 2023-01-18 11:41:22 +01:00
usbip usb: usbip: add missing device lock on tweak configuration cmd 2022-06-14 18:11:51 +02:00
Kconfig
Makefile
usb-skeleton.c