linux-stable/drivers/usb/musb
Yang Yingliang 06cfb4cb22 usb: musb: tusb6010: check return value after calling platform_get_resource()
[ Upstream commit 14651496a3 ]

It will cause null-ptr-deref if platform_get_resource() returns NULL,
we need check the return value.

Signed-off-by: Yang Yingliang <yangyingliang@huawei.com>
Link: https://lore.kernel.org/r/20210915034925.2399823-1-yangyingliang@huawei.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2021-11-25 09:48:25 +01:00
..
am35x.c
cppi_dma.c
cppi_dma.h
da8xx.c
davinci.c
davinci.h
jz4740.c usb: musb: jz4740: Add missing CR to error strings 2021-02-05 10:27:18 +01:00
Kconfig usb: musb: select GENERIC_PHY instead of depending on it 2021-11-18 19:16:52 +01:00
Makefile
mediatek.c usb: musb: Fix an error message 2021-05-10 16:17:57 +02:00
musb_core.c usb: musb: Implement tracing for state change events 2021-06-14 10:25:16 +02:00
musb_core.h usb: musb: musb_core: Add space after that ',' 2021-04-22 10:49:22 +02:00
musb_cppi41.c
musb_debug.h
musb_debugfs.c
musb_dma.h
musb_dsps.c usb: musb: dsps: Fix the probe error path 2021-10-13 14:12:49 +02:00
musb_gadget.c usb: musb: Balance list entry in musb_gadget_queue 2021-11-12 15:05:47 +01:00
musb_gadget.h
musb_gadget_ep0.c usb: musb: gadget: Use fallthrough pseudo-keyword 2020-10-10 12:32:29 +02:00
musb_host.c usb: musb: Remove unused function argument dma, qh, offset, length 2021-05-10 16:21:09 +02:00
musb_host.h usb: musb: Remove duplicate declaration of functions 2021-05-10 16:20:41 +02:00
musb_io.h
musb_regs.h
musb_trace.c
musb_trace.h usb: musb: Implement tracing for state change events 2021-06-14 10:25:16 +02:00
musb_virthub.c
musbhsdma.c usb: musb: dma: Remove unused variable 2021-02-05 10:27:18 +01:00
omap2430.c usb: musb: Fix suspend and resume issues for PHYs on I2C and SPI 2021-07-27 16:31:02 +02:00
omap2430.h
sunxi.c
tusb6010.c usb: musb: tusb6010: check return value after calling platform_get_resource() 2021-11-25 09:48:25 +01:00
tusb6010.h
tusb6010_omap.c
ux500.c
ux500_dma.c