]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
mtd: rawnand: atmel: Fix dma_mapping_error() address
authorThomas Fourier <fourier.thomas@gmail.com>
Wed, 2 Jul 2025 06:45:11 +0000 (08:45 +0200)
committerMiquel Raynal <miquel.raynal@bootlin.com>
Wed, 30 Jul 2025 09:27:30 +0000 (11:27 +0200)
commite1e6b933c56b1e9fda93caa0b8bae39f3f421e5c
treed79af83a344b87751e9b1a9df66a3f8d6c1d2046
parent23584da2875972782b8a35a9a78c46e5f561ec67
mtd: rawnand: atmel: Fix dma_mapping_error() address

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")
Signed-off-by: Thomas Fourier <fourier.thomas@gmail.com>
Rule: add
Link: https://lore.kernel.org/stable/20250702064515.18145-2-fourier.thomas%40gmail.com
Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com>
drivers/mtd/nand/raw/atmel/nand-controller.c