linux_dsm_epyc7002/drivers/memory
Bartosz Golaszewski 6b45a2b1c0 memory: ti-aemif: fix a potential NULL-pointer dereference
Platform data pointer may be NULL. We check it everywhere but in one
place. Fix it.

Fixes: 8af70cd2ca ("memory: aemif: add support for board files")
Reported-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Bartosz Golaszewski <bgolaszewski@baylibre.com>
Cc: stable@vger.kernel.org
Signed-off-by: Olof Johansson <olof@lixom.net>
2018-09-06 10:04:07 -07:00
..
samsung
tegra
atmel-ebi.c
atmel-sdramc.c
brcmstb_dpfe.c
da8xx-ddrctl.c
emif-asm-offsets.c
emif.c
emif.h
fsl_ifc.c
fsl-corenet-cf.c
jz4780-nemc.c
Kconfig
Makefile
Makefile.asm-offsets
mtk-smi.c
mvebu-devbus.c
of_memory.c
of_memory.h
omap-gpmc.c
pl172.c
ti-aemif.c
ti-emif-pm.c
ti-emif-sram-pm.S