WSL2-Linux-Kernel/drivers/memory
Jia-Ju Bai 2883fb9838 memory: emif: check the pointer temp in get_device_details()
[ Upstream commit 5b5ab1bfa1 ]

The pointer temp is allocated by devm_kzalloc(), so it should be
checked for error handling.

Fixes: 7ec944538d ("memory: emif: add basic infrastructure for EMIF driver")
Signed-off-by: Jia-Ju Bai <baijiaju1990@gmail.com>
Link: https://lore.kernel.org/r/20220225132552.27894-1-baijiaju1990@gmail.com
Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@canonical.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2022-04-08 14:23:20 +02:00
..
samsung Power management updates for 5.13-rc1 2021-04-26 15:10:25 -07:00
tegra memory: tegra20-emc: Add runtime dependency on devfreq governor module 2021-11-25 09:48:30 +01:00
.gitignore .gitignore: prefix local generated files with a slash 2021-05-02 00:43:35 +09:00
Kconfig
Makefile
atmel-ebi.c memory: atmel-ebi: add missing of_node_put for loop iteration 2021-05-11 08:49:18 -04:00
atmel-sdramc.c
brcmstb_dpfe.c
bt1-l2-ctl.c
da8xx-ddrctl.c
dfl-emif.c
emif-asm-offsets.c
emif.c memory: emif: check the pointer temp in get_device_details() 2022-04-08 14:23:20 +02:00
emif.h
fsl-corenet-cf.c memory: fsl-corenet-cf: Remove redundant dev_err call in ccf_probe() 2021-04-01 19:56:52 +02:00
fsl_ifc.c memory: fsl_ifc: fix leak of irq and nand_irq in fsl_ifc_ctrl_probe 2021-11-18 19:16:51 +01:00
jedec_ddr.h
jedec_ddr_data.c
jz4780-nemc.c
mtk-smi.c memory: mtk-smi: Add device-link between smi-larb and smi-common 2021-04-13 16:56:31 +02:00
mvebu-devbus.c
of_memory.c
of_memory.h
omap-gpmc.c memory: omap-gpmc: Drop custom PM calls with cpu_pm notifier 2021-07-29 09:02:27 +02:00
pl172.c
pl353-smc.c Memory controller drivers for v5.14 - PL353 2021-06-12 08:53:06 -07:00
renesas-rpc-if.c memory: renesas-rpc-if: Return error in case devm_ioremap_resource() fails 2022-01-27 11:03:11 +01:00
stm32-fmc2-ebi.c memory: stm32-fmc2-ebi: add missing of_node_put for loop iteration 2021-05-11 08:49:18 -04:00
ti-aemif.c
ti-emif-pm.c
ti-emif-sram-pm.S