linux-stable/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 memory: samsung: Add SPDX license identifiers 2018-02-12 19:55:34 +01:00
tegra ARM: SoC driver updates 2018-08-23 13:52:46 -07:00
atmel-ebi.c ARM: SoC driver updates for v4.14 2017-09-10 20:40:00 -07:00
atmel-sdramc.c
brcmstb_dpfe.c memory: brcmstb: dpfe: Remove need for dpfe_dev 2018-05-09 12:15:26 -07:00
da8xx-ddrctl.c
emif-asm-offsets.c ARM: OMAP2+: Fix build when using split object directories 2018-04-18 10:07:13 -07:00
emif.c memory-EMIF: Use seq_putc() in emif_regdump_show() 2018-03-05 16:21:26 -08:00
emif.h memory: ti-emif-sram: introduce relocatable suspend/resume handlers 2017-12-02 19:27:17 -08:00
fsl-corenet-cf.c
fsl_ifc.c
jz4780-nemc.c memory: Convert to using %pOF instead of full_name 2017-08-16 21:37:00 +02:00
Kconfig drivers/memory/Kconfig: Add CONFIG_OF dependency 2018-07-31 09:46:06 +02:00
Makefile memory: tegra: Squash tegra20-mc into common tegra-mc driver 2018-04-30 10:10:00 +02:00
Makefile.asm-offsets memory: ti-emif-sram: introduce relocatable suspend/resume handlers 2017-12-02 19:27:17 -08:00
mtk-smi.c memory: mtk-smi: Degrade SMI init to module_init 2017-08-22 16:38:00 +02:00
mvebu-devbus.c memory: Convert to using %pOF instead of full_name 2017-08-16 21:37:00 +02:00
of_memory.c treewide: devm_kzalloc() -> devm_kcalloc() 2018-06-12 16:19:22 -07:00
of_memory.h
omap-gpmc.c memory: omap-gpmc: Avoid redundant NULL check 2018-04-24 10:30:52 +03:00
pl172.c
ti-aemif.c memory: ti-aemif: fix a potential NULL-pointer dereference 2018-09-06 10:04:07 -07:00
ti-emif-pm.c memory: ti-emif-sram: Add resume function to recopy sram code 2018-06-26 10:05:17 -07:00
ti-emif-sram-pm.S memory: ti-emif-sram: introduce relocatable suspend/resume handlers 2017-12-02 19:27:17 -08:00