Re: [PATCH] powerpc/xive: Properly use static keyword for inline function

2018-01-15 Thread Cédric Le Goater
On 12/26/2017 02:00 PM, Mathieu Malaterre wrote: > Fix fatal warning during compilation: > > In file included from arch/powerpc/xmon/xmon.c:54:0: > ./arch/powerpc/include/asm/xive.h:157:20: error: no previous prototype for > ‘xive_smp_prepare_cpu’ [-Werror=missing-prototypes] > extern inline

Re: [PATCH] powerpc/xive: Properly use static keyword for inline function

2018-01-15 Thread Cédric Le Goater
On 12/26/2017 02:00 PM, Mathieu Malaterre wrote: > Fix fatal warning during compilation: > > In file included from arch/powerpc/xmon/xmon.c:54:0: > ./arch/powerpc/include/asm/xive.h:157:20: error: no previous prototype for > ‘xive_smp_prepare_cpu’ [-Werror=missing-prototypes] > extern inline

[PATCH] powerpc/xive: Properly use static keyword for inline function

2017-12-26 Thread Mathieu Malaterre
Fix fatal warning during compilation: In file included from arch/powerpc/xmon/xmon.c:54:0: ./arch/powerpc/include/asm/xive.h:157:20: error: no previous prototype for ‘xive_smp_prepare_cpu’ [-Werror=missing-prototypes] extern inline int xive_smp_prepare_cpu(unsigned int cpu) { return -EINVAL; }

[PATCH] powerpc/xive: Properly use static keyword for inline function

2017-12-26 Thread Mathieu Malaterre
Fix fatal warning during compilation: In file included from arch/powerpc/xmon/xmon.c:54:0: ./arch/powerpc/include/asm/xive.h:157:20: error: no previous prototype for ‘xive_smp_prepare_cpu’ [-Werror=missing-prototypes] extern inline int xive_smp_prepare_cpu(unsigned int cpu) { return -EINVAL; }