linux/drivers/reset
Hui Tang 95de286200 reset: uniphier-glue: Fix possible null-ptr-deref
[ Upstream commit 3a2390c677 ]

It will cause null-ptr-deref when resource_size(res) invoked,
if platform_get_resource() returns NULL.

Fixes: 499fef09a3 ("reset: uniphier: add USB3 core reset control")
Signed-off-by: Hui Tang <tanghui20@huawei.com>
Reviewed-by: Kunihiko Hayashi <hayashi.kunihiko@socionext.com>
Link: https://lore.kernel.org/r/20221114004958.258513-1-tanghui20@huawei.com
Signed-off-by: Philipp Zabel <p.zabel@pengutronix.de>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2023-02-01 08:27:04 +01:00
..
hisilicon
sti
tegra
core.c
Kconfig
Makefile
reset-a10sr.c
reset-ath79.c
reset-axs10x.c
reset-bcm6345.c
reset-berlin.c
reset-brcmstb-rescal.c
reset-brcmstb.c
reset-hsdk.c
reset-imx7.c
reset-intel-gw.c
reset-k210.c
reset-lantiq.c
reset-lpc18xx.c
reset-meson-audio-arb.c
reset-meson.c
reset-microchip-sparx5.c
reset-npcm.c
reset-oxnas.c
reset-pistachio.c
reset-qcom-aoss.c
reset-qcom-pdc.c
reset-raspberrypi.c
reset-rzg2l-usbphy-ctrl.c
reset-scmi.c
reset-simple.c
reset-socfpga.c
reset-sunxi.c
reset-ti-sci.c
reset-ti-syscon.c
reset-uniphier-glue.c reset: uniphier-glue: Fix possible null-ptr-deref 2023-02-01 08:27:04 +01:00
reset-uniphier.c
reset-zynq.c
reset-zynqmp.c