diff options
author | Niravkumar L Rabara <niravkumar.l.rabara@intel.com> | 2025-02-16 06:15:36 +0300 |
---|---|---|
committer | Miquel Raynal <miquel.raynal@bootlin.com> | 2025-02-19 16:38:21 +0300 |
commit | 60255f3704fde70ed3c4d62f919aa4b46f841f70 (patch) | |
tree | 7ad0ef87a84628d1d1ae7e51dc76f8cd0a315060 /tools/perf/scripts/python/syscall-counts.py | |
parent | 41758630dd7ea9dce3eb152168c979534b415ab0 (diff) | |
download | linux-60255f3704fde70ed3c4d62f919aa4b46f841f70.tar.xz |
mtd: rawnand: cadence: fix unchecked dereference
Add NULL check before variable dereference to fix static checker warning.
Fixes: d76d22b5096c ("mtd: rawnand: cadence: use dma_map_resource for sdma address")
Reported-by: Dan Carpenter <dan.carpenter@linaro.org>
Closes: https://lore.kernel.org/all/e448a22c-bada-448d-9167-7af71305130d@stanley.mountain/
Signed-off-by: Niravkumar L Rabara <niravkumar.l.rabara@intel.com>
Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts.py')
0 files changed, 0 insertions, 0 deletions