]> git.ipfire.org Git - thirdparty/linux.git/commit
EDAC/ie31200: #undef field_get() before local definition
authorGeert Uytterhoeven <geert+renesas@glider.be>
Thu, 6 Nov 2025 13:33:51 +0000 (14:33 +0100)
committerYury Norov (NVIDIA) <yury.norov@gmail.com>
Mon, 24 Nov 2025 19:15:46 +0000 (14:15 -0500)
commitd51b09a0feb63029be64226502cbcf53adc434b0
tree4b40589204724b74181e5fdfd213a3230dfc91e6
parent7996cbdb3f8472bc4286c776d3fa39cf0c20237a
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@gmail.com>
Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
Reviewed-by: Qiuxu Zhuo <qiuxu.zhuo@intel.com>
Signed-off-by: Yury Norov (NVIDIA) <yury.norov@gmail.com>
drivers/edac/ie31200_edac.c