mirror of
https://github.com/torvalds/linux.git
synced 2026-12-03 20:06:35 +00:00
Add NULL check before variable dereference to fix static checker warning.
Fixes: d76d22b509 ("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]>