aboutsummaryrefslogtreecommitdiffstats
path: root/lib/mpi/mpi-mod.c
diff options
context:
space:
mode:
authorDan Carpenter <[email protected]>2025-10-03 09:30:10 +0000
committerMiquel Raynal <[email protected]>2025-10-22 09:54:18 +0000
commit9225f02ff201837e1443076f37a3c008140d1835 (patch)
tree98a0fa4268d153df507a9f7771a53a26296510d0 /lib/mpi/mpi-mod.c
parentmtdchar: fix integer overflow in read/write ioctls (diff)
downloadkernel-9225f02ff201837e1443076f37a3c008140d1835.tar.gz
kernel-9225f02ff201837e1443076f37a3c008140d1835.zip
mtd: nand: realtek-ecc: Fix a IS_ERR() vs NULL bug in probe
The dma_alloc_noncoherent() function doesn't return error pointers, it returns NULL on error. Fix the error checking to match. Fixes: 3148d0e5b1c5 ("mtd: nand: realtek-ecc: Add Realtek external ECC engine support") Signed-off-by: Dan Carpenter <[email protected]> Reviewed-by: Geert Uytterhoeven <[email protected]> Signed-off-by: Miquel Raynal <[email protected]>
Diffstat (limited to 'lib/mpi/mpi-mod.c')
0 files changed, 0 insertions, 0 deletions