linux-stable/drivers/memory
Krzysztof Kozlowski ee1aa737ba memory: fsl_ifc: fix leak of private memory on probe failure
[ Upstream commit 8e0d09b123 ]

On probe error the driver should free the memory allocated for private
structure.  Fix this by using resource-managed allocation.

Fixes: a20cbdeffc ("powerpc/fsl: Add support for Integrated Flash Controller")
Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@canonical.com>
Link: https://lore.kernel.org/r/20210527154322.81253-2-krzysztof.kozlowski@canonical.com
Signed-off-by: Sasha Levin <sashal@kernel.org>
2021-07-20 16:16:15 +02:00
..
samsung
tegra memory: tegra: Don't invoke Tegra30+ specific memory timing setup on Tegra20 2020-01-27 14:50:13 +01:00
atmel-ebi.c memory: atmel-ebi: add missing of_node_put for loop iteration 2021-07-20 16:16:14 +02:00
atmel-sdramc.c
brcmstb_dpfe.c
da8xx-ddrctl.c
emif-asm-offsets.c
emif.c memory: emif: Remove bogus debugfs error handling 2020-11-05 11:08:45 +01:00
emif.h
fsl-corenet-cf.c memory: fsl-corenet-cf: Fix handling of platform_get_irq() error 2020-10-30 10:38:24 +01:00
fsl_ifc.c memory: fsl_ifc: fix leak of private memory on probe failure 2021-07-20 16:16:15 +02:00
jz4780-nemc.c
Kconfig
Makefile
Makefile.asm-offsets
mtk-smi.c
mvebu-devbus.c
of_memory.c
of_memory.h
omap-gpmc.c memory: gpmc: fix out of bounds read and dereference on gpmc_cs[] 2021-05-22 10:59:27 +02:00
pl172.c
ti-aemif.c memory: ti-aemif: Drop child node when jumping out loop 2021-03-04 09:39:34 +01:00
ti-emif-pm.c
ti-emif-sram-pm.S