[PATCH] mtd: rawnand: cadence: Fix return type of CDMA send-and-wait helper

Miquel Raynal miquel.raynal at bootlin.com
Mon Jan 19 02:14:24 PST 2026


On Fri, 19 Dec 2025 03:09:30 -0800, Alok Tiwari wrote:
> cadence_nand_cdma_send_and_wait() propagates negative errno values
> from cadence_nand_cdma_send(), returns -ETIMEDOUT on failure and -EIO
> when the CDMA engine reports a command failure.
> 
> However, it is declared as u32, causing error codes to wrap.
> Change the return type to int to correctly propagate errors.
> 
> [...]

Applied to nand/next, thanks!

[1/1] mtd: rawnand: cadence: Fix return type of CDMA send-and-wait helper
      commit: 6d8226cbbf124bb5613b532216b74c886a4361b7

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