Re: [PATCH] mtd: nand: Fix dma_mapping_error() address

From: Miquel Raynal
Date: Tue Jul 01 2025 - 08:52:22 EST


Hi Thomas,

Thanks for the patch!

On 01/07/2025 at 13:44:23 +02, Thomas Fourier <fourier.thomas@xxxxxxxxx> wrote:

The subject prefix should be 'mtd: rawnand: atmel:'

> It seems like what was intended is to test if the dma_map of the
> previous line failed but the wrong dma address was passed.
>
> Fixes: f88fc122cc34 ("mtd: nand: Cleanup/rework the atmel_nand
> driver")

Missing:

Cc: stable@xxxxxxxxxxxxxxx

> Signed-off-by: Thomas Fourier <fourier.thomas@xxxxxxxxx>
> ---

Otherwise looks good to me!

Thanks,
Miquèl