Re: [PATCH] powerpc: fix sparse warning, include kernel header

2017-03-11 Thread Tobin C. Harding
On Fri, Mar 10, 2017 at 11:40:23AM +1100, Daniel Axtens wrote: > Hi Tobin, > > I have built the kernel with the ppc6xx_defconfig with and without your > patch. > > Using my smart-sparse-diff tool[1], I have confirmed the warning > disappears: > > -/scratch/dja/linux/arch/powerpc/kernel/swsusp.c:

Re: [PATCH] powerpc: fix sparse warning, include kernel header

2017-03-09 Thread Daniel Axtens
Hi Tobin, I have built the kernel with the ppc6xx_defconfig with and without your patch. Using my smart-sparse-diff tool[1], I have confirmed the warning disappears: -/scratch/dja/linux/arch/powerpc/kernel/swsusp.c:17:6: warning: symbol 'save_processor_state' was not declared. Should it be stat

[PATCH] powerpc: fix sparse warning, include kernel header

2017-03-06 Thread Tobin C. Harding
Spares emits two symbol not declared warnings. The two functions in question are declared already in a kernel header. Add include directive to include kernel header. Signed-off-by: Tobin C. Harding --- github issue: #37 Fix sparse errors arch/powerpc/kernel/swsusp.c | 1 + 1 file changed, 1 i