[PATCH v6 03/26] EDAC/ie31200: #undef field_get() before local definition
Zhuo, Qiuxu
qiuxu.zhuo at intel.com
Tue Nov 11 01:02:37 AEDT 2025
> From: Geert Uytterhoeven <geert+renesas at glider.be>
> Sent: Thursday, November 6, 2025 9:34 PM
> To: Yury Norov <yury.norov at gmail.com>; Michael Turquette
> <mturquette at baylibre.com>; Stephen Boyd <sboyd at kernel.org>; Nicolas
> Ferre <nicolas.ferre at microchip.com>; Alexandre Belloni
> <alexandre.belloni at bootlin.com>; Claudiu Beznea
> <claudiu.beznea at tuxon.dev>; Cabiddu, Giovanni
> <giovanni.cabiddu at intel.com>; Herbert Xu <herbert at gondor.apana.org.au>;
> David Miller <davem at davemloft.net>; Linus Walleij
> <linus.walleij at linaro.org>; Bartosz Golaszewski <brgl at bgdev.pl>; Joel Stanley
> <joel at jms.id.au>; Andrew Jeffery <andrew at codeconstruct.com.au>; Crt
> Mori <cmo at melexis.com>; Jonathan Cameron <jic23 at kernel.org>; Lars-
> Peter Clausen <lars at metafoo.de>; Jacky Huang <ychuang3 at nuvoton.com>;
> Shan-Chun Hung <schung at nuvoton.com>; Rasmus Villemoes
> <linux at rasmusvillemoes.dk>; Jaroslav Kysela <perex at perex.cz>; Takashi Iwai
> <tiwai at suse.com>; Johannes Berg <johannes at sipsolutions.net>; Jakub
> Kicinski <kuba at kernel.org>; Alex Elder <elder at ieee.org>; David Laight
> <david.laight.linux at gmail.com>; Vincent Mailhol
> <mailhol.vincent at wanadoo.fr>; Jason Baron <jbaron at akamai.com>; Borislav
> Petkov <bp at alien8.de>; Luck, Tony <tony.luck at intel.com>; Michael
> Hennerich <Michael.Hennerich at analog.com>; Kim Seer Paller
> <kimseer.paller at analog.com>; Lechner, David <dlechner at baylibre.com>;
> Nuno Sá <nuno.sa at analog.com>; Andy Shevchenko <andy at kernel.org>;
> Richard Genoud <richard.genoud at bootlin.com>; Cosmin Tanislav
> <demonsingur at gmail.com>; Biju Das <biju.das.jz at bp.renesas.com>;
> Jianping Shen <Jianping.Shen at de.bosch.com>; Nathan Chancellor
> <nathan at kernel.org>; Nick Desaulniers <nick.desaulniers+lkml at gmail.com>;
> Miquel Raynal <miquel.raynal at bootlin.com>; Richard Weinberger
> <richard at nod.at>; Vignesh Raghavendra <vigneshr at ti.com>
> Cc: linux-clk at vger.kernel.org; linux-arm-kernel at lists.infradead.org; linux-
> renesas-soc at vger.kernel.org; linux-crypto at vger.kernel.org; linux-
> edac at vger.kernel.org; qat-linux <qat-linux at intel.com>; linux-
> gpio at vger.kernel.org; linux-aspeed at lists.ozlabs.org; linux-
> iio at vger.kernel.org; linux-sound at vger.kernel.org; linux-
> mtd at lists.infradead.org; linux-kernel at vger.kernel.org; Geert Uytterhoeven
> <geert+renesas at glider.be>
> Subject: [PATCH v6 03/26] EDAC/ie31200: #undef field_get() before local
> definition
>
> Prepare for the advent of a globally available common field_get() macro by
> undefining the symbol before defining a local variant. This prevents
> redefinition warnings from the C preprocessor when introducing the common
> macro later.
>
> Suggested-by: Yury Norov <yury.norov at gmail.com>
> Signed-off-by: Geert Uytterhoeven <geert+renesas at glider.be>
Good to see the global field_{get,prep}() macros are available for use.
Thanks.
Reviewed-by: Qiuxu Zhuo <qiuxu.zhuo at intel.com>
> [...]
More information about the Linux-aspeed
mailing list