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 <stern@rowland.harvard.edu>
Signed-off-by: Jiasheng Jiang <jiasheng@iscas.ac.cn>
Link: https://lore.kernel.org/r/20221208110058.12983-1-jiasheng@iscas.ac.cn
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
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
common
core usb: add NO_LPM quirk for Realforce 87U Keyboard 2022-11-25 17:42:18 +01:00
dwc2
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
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
Kconfig
Makefile
usb-skeleton.c