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

Miquel Raynal miquel.raynal at bootlin.com
Tue Jul 1 05:51:31 PDT 2025


Hi Thomas,

Thanks for the patch!

On 01/07/2025 at 13:44:23 +02, Thomas Fourier <fourier.thomas at gmail.com> 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 at vger.kernel.org

> Signed-off-by: Thomas Fourier <fourier.thomas at gmail.com>
> ---

Otherwise looks good to me!

Thanks,
Miquèl



More information about the linux-arm-kernel mailing list