[PATCH] mtd: map: add back asm/barrier.h inclusion

Miquel Raynal miquel.raynal at bootlin.com
Mon Sep 1 05:29:40 PDT 2025


On Wed, 30 Jul 2025 15:59:24 +0200, Arnd Bergmann wrote:
> The mb() macro is used in this header:
> 
> In file included from include/linux/mtd/qinfo.h:5,
>                  from include/linux/mtd/pfow.h:8,
>                  from drivers/mtd/lpddr/lpddr_cmds.c:14:
> include/linux/mtd/map.h: In function 'inline_map_write':
> include/linux/mtd/map.h:428:9: error: implicit declaration of function 'mb' [-Wimplicit-function-declaration]
> 
> [...]

Applied to mtd/next, thanks!

[1/1] mtd: map: add back asm/barrier.h inclusion
      commit: 6538d039c524304a00b8fac651982fdf1fe24cc3

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