diff options
| author | Niravkumar L Rabara <[email protected]> | 2025-02-16 03:15:36 +0000 |
|---|---|---|
| committer | Miquel Raynal <[email protected]> | 2025-02-19 13:38:21 +0000 |
| commit | 60255f3704fde70ed3c4d62f919aa4b46f841f70 (patch) | |
| tree | 7ad0ef87a84628d1d1ae7e51dc76f8cd0a315060 /drivers/gpu/drm/amd/amdgpu/amdgpu_ras.c | |
| parent | dt-bindings: mtd: cadence: document required clock-names (diff) | |
| download | kernel-60255f3704fde70ed3c4d62f919aa4b46f841f70.tar.gz kernel-60255f3704fde70ed3c4d62f919aa4b46f841f70.zip | |
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 <[email protected]>
Closes: https://lore.kernel.org/all/[email protected]/
Signed-off-by: Niravkumar L Rabara <[email protected]>
Signed-off-by: Miquel Raynal <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_ras.c')
0 files changed, 0 insertions, 0 deletions
