From: Christophe Leroy Date: Wed, 8 Jan 2025 10:24:54 +0000 (+0100) Subject: powerpc/44x: Declare primary_uic static in uic.c X-Git-Tag: io_uring-6.15-20250403~55^2~44 X-Git-Url: https://git.kernel.dk/?a=commitdiff_plain;h=779c501cab14ba0b441a3c802c56be46a24f5c3b;p=linux-block.git powerpc/44x: Declare primary_uic static in uic.c primary_uic is not used outside uic.c, declare it static. Reported-by: kernel test robot Closes: https://lore.kernel.org/oe-kbuild-all/202411101746.lD8YdVzY-lkp@intel.com/ Fixes: e58923ed1437 ("[POWERPC] Add arch/powerpc driver for UIC, PPC4xx interrupt controller") Signed-off-by: Christophe Leroy Signed-off-by: Madhavan Srinivasan Link: https://patch.msgid.link/0e11233d30333610ab460b3a1fd0f43c3a51e34d.1736331884.git.christophe.leroy@csgroup.eu --- diff --git a/arch/powerpc/platforms/44x/uic.c b/arch/powerpc/platforms/44x/uic.c index e3e148b9dd18..8b03ae4cb3f6 100644 --- a/arch/powerpc/platforms/44x/uic.c +++ b/arch/powerpc/platforms/44x/uic.c @@ -37,7 +37,7 @@ #define UIC_VR 0x7 #define UIC_VCR 0x8 -struct uic *primary_uic; +static struct uic *primary_uic; struct uic { int index;