android_kernel_motorola_sm6375/drivers/reset
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Krzysztof Kozlowski e8384befe2 reset: berlin: fix OF node leak in probe() error path
[ Upstream commit 5f58a88cc91075be38cec69b7cb70aaa4ba69e8b ]

Driver is leaking OF node reference on memory allocation failure.
Acquire the OF node reference after memory allocation to fix this and
keep it simple.

Fixes: aed6f3cadc ("reset: berlin: convert to a platform driver")
Signed-off-by: Krzysztof Kozlowski <[email protected]>
Reviewed-by: Damien Le Moal <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Philipp Zabel <[email protected]>
Signed-off-by: Sasha Levin <[email protected]>
2024-11-08 16:20:28 +01:00
..
hisilicon reset: hi6220: Add support for AO reset controller 2024-09-12 11:03:51 +02:00
sti
tegra
core.c
Kconfig
Makefile
reset-a10sr.c
reset-ath79.c
reset-axs10x.c
reset-berlin.c reset: berlin: fix OF node leak in probe() error path 2024-11-08 16:20:28 +01:00
reset-brcmstb.c
reset-hsdk.c
reset-imx7.c
reset-lantiq.c
reset-lpc18xx.c
reset-meson-audio-arb.c
reset-meson.c
reset-oxnas.c
reset-pistachio.c
reset-qcom-aoss.c
reset-qcom-pdc.c
reset-scmi.c
reset-simple.c
reset-simple.h
reset-socfpga.c
reset-stm32mp1.c
reset-sunxi.c
reset-ti-sci.c
reset-ti-syscon.c
reset-uniphier-glue.c
reset-uniphier.c
reset-zynq.c
reset-zynqmp.c