[PATCH] mtd: rawnand: au1550nd: fix the memory reservation check
Miquel Raynal
miquel.raynal at bootlin.com
Fri Nov 20 07:03:50 PST 2026
On Sun, 08 Nov 2026 13:55:11 -0700, James Hilliard wrote:
> request_mem_region() returns a non-NULL pointer on success. The inverted
> check rejects a successful reservation without releasing it, and proceeds
> to map the NAND registers when the reservation actually failed.
>
> Reject a NULL result so probe proceeds only after claiming the resource.
>
>
> [...]
Applied to nand/next, thanks!
[1/1] mtd: rawnand: au1550nd: fix the memory reservation check
commit: ba3893473491d9810f1dae8ddef38d9d487d630f
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