[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <176881766479.2432692.9166986607501373436.b4-ty@bootlin.com>
Date: Mon, 19 Jan 2026 11:14:24 +0100
From: Miquel Raynal <miquel.raynal@...tlin.com>
To: richard@....at, vigneshr@...com, linux-mtd@...ts.infradead.org,
Alok Tiwari <alok.a.tiwari@...cle.com>
Cc: alok.a.tiwarilinux@...il.com, linux-kernel@...r.kernel.org
Subject: Re: [PATCH] mtd: rawnand: cadence: Fix return type of CDMA
send-and-wait helper
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
Powered by blists - more mailing lists