Re: [PATCH 04/23] powerpc/pseries/ras: Make init_ras_hotplug_IRQ() static

2020-12-21 Thread Christophe Leroy
Le 21/12/2020 à 08:42, Cédric Le Goater a écrit : It fixes this W=1 compile error: Explain why it can be made static, not just that it does fix a W=1 compile error, because there are several possible ways to fix such a warning. ../arch/powerpc/platforms/pseries/ras.c:125:12: error: no p

[PATCH 04/23] powerpc/pseries/ras: Make init_ras_hotplug_IRQ() static

2020-12-21 Thread Cédric Le Goater
It fixes this W=1 compile error: ../arch/powerpc/platforms/pseries/ras.c:125:12: error: no previous prototype for ‘init_ras_hotplug_IRQ’ [-Werror=missing-prototypes] 125 | int __init init_ras_hotplug_IRQ(void) |^~~~ Fixes: c9dccf1d074a ("powerpc/pseries: Enabl