diff options
author | Bartosz Golaszewski <bgolaszewski@baylibre.com> | 2018-09-06 14:12:19 +0200 |
---|---|---|
committer | Olof Johansson <olof@lixom.net> | 2018-09-06 10:04:07 -0700 |
commit | 6b45a2b1c0bc2aec84d1c56a1976ca9c8a621ecb (patch) | |
tree | 4cc5ddeb9fb336871df3b188d5a65d186aa04184 /scripts/mkcompile_h | |
parent | e312b6dcbb633bc87414f1143e0015adbbf87ae0 (diff) | |
download | linux-rt-6b45a2b1c0bc2aec84d1c56a1976ca9c8a621ecb.tar.gz |
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: 8af70cd2ca50 ("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>
Diffstat (limited to 'scripts/mkcompile_h')
0 files changed, 0 insertions, 0 deletions