AW: [PATCH next] mtd: nand: realtek-ecc: Fix a IS_ERR() vs NULL bug in probe

markus.stockhausen at gmx.de markus.stockhausen at gmx.de
Fri Oct 3 07:28:59 PDT 2025


> Von: Dan Carpenter <dan.carpenter at linaro.org> 
> Gesendet: Freitag, 3. Oktober 2025 11:30
>
> The dma_alloc_noncoherent() function doesn't return error pointers, it
> returns NULL on error.  Fix the error checking to match.

Hi Dan,

thanks for the quick fix.

Markus




More information about the linux-mtd mailing list