[PATCH -next v6 11/26] mtd: rawnand: sunxi: #undef field_{get,prep}() before local definition

Miquel Raynal miquel.raynal at bootlin.com
Sat Nov 29 04:45:09 PST 2025


Hello,

On 06/11/2025 at 14:33:59 +01, Geert Uytterhoeven <geert+renesas at glider.be> wrote:

> Prepare for the advent of globally available common field_get() and
> field_prep() macros by undefining the symbols before defining local
> variants.  This prevents redefinition warnings from the C preprocessor
> when introducing the common macros later.
>
> Suggested-by: Yury Norov <yury.norov at gmail.com>
> Signed-off-by: Geert Uytterhoeven <geert+renesas at glider.be>
> ---

Finally applied to nand/next, will be part of the next merge window.

Thanks,
Miquèl



More information about the linux-mtd mailing list