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

Miquel Raynal miquel.raynal at bootlin.com
Wed Oct 22 02:56:51 PDT 2025


On Fri, 03 Oct 2025 12:30:10 +0300, Dan Carpenter wrote:
> The dma_alloc_noncoherent() function doesn't return error pointers, it
> returns NULL on error.  Fix the error checking to match.
> 
> 

Applied to mtd/fixes, thanks!

[1/1] mtd: nand: realtek-ecc: Fix a IS_ERR() vs NULL bug in probe
      commit: 9225f02ff201837e1443076f37a3c008140d1835

Patche(s) should be available on mtd/linux.git and will be
part of the next PR (provided that no robot complains by then).

Kind regards,
Miquèl




More information about the linux-mtd mailing list