diff options
author | Hui Tang <[email protected]> | 2022-11-14 17:02:40 +0800 |
---|---|---|
committer | Miquel Raynal <[email protected]> | 2022-11-17 21:59:03 +0100 |
commit | 6bdd45d795adf9e73b38ced5e7f750cd199499ff (patch) | |
tree | fa2d00ddba48c063b56939d852bd4ccc629f747a /tools/perf/scripts/python | |
parent | 9b533a6e41df8315422575764a7f9a72bda2d995 (diff) |
mtd: lpddr2_nvm: Fix possible null-ptr-deref
It will cause null-ptr-deref when resource_size(add_range) invoked,
if platform_get_resource() returns NULL.
Fixes: 96ba9dd65788 ("mtd: lpddr: add driver for LPDDR2-NVM PCM memories")
Signed-off-by: Hui Tang <[email protected]>
Acked-by: Uwe Kleine-König <[email protected]>
Signed-off-by: Miquel Raynal <[email protected]>
Link: https://lore.kernel.org/linux-mtd/[email protected]
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions