Commit 7d5c223
mtd: rawnand: fsmc: Add missing check after DMA map
commit 6c4dab3 upstream.
The DMA map functions can fail and should be tested for errors.
Fixes: 4774fb0 ("mtd: nand/fsmc: Add DMA support")
Cc: [email protected]
Signed-off-by: Thomas Fourier <[email protected]>
Rule: add
Link: https://lore.kernel.org/stable/20250702065806.20983-2-fourier.thomas%40gmail.com
Signed-off-by: Miquel Raynal <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>1 parent 93f1be8 commit 7d5c223
1 file changed
+2
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
503 | 503 | | |
504 | 504 | | |
505 | 505 | | |
| 506 | + | |
| 507 | + | |
506 | 508 | | |
507 | 509 | | |
508 | 510 | | |
| |||
0 commit comments