Re: [PATCH 1/6] powerpc/powernv/smp: Fix spurious DBG() warning
From: Michael Ellerman <hidden>
Date: 2020-09-09 15:33:23
On Tue, 4 Aug 2020 10:54:05 +1000, Oliver O'Halloran wrote:
When building with W=1 we get the following warning:
arch/powerpc/platforms/powernv/smp.c: In function ���pnv_smp_cpu_kill_self���:
arch/powerpc/platforms/powernv/smp.c:276:16: error: suggest braces around
empty body in an ���if��� statement [-Werror=empty-body]
276 | cpu, srr1);
| ^
cc1: all warnings being treated as errors
[...]
Applied to powerpc/next.
[1/6] powerpc/powernv/smp: Fix spurious DBG() warning
https://git.kernel.org/powerpc/c/f6bac19cf65c5be21d14a0c9684c8f560f2096dd
[2/6] powerpc/powernv: Include asm/powernv.h from the local powernv.h
https://git.kernel.org/powerpc/c/8471c1dd93de9a2278d41c527b76291e4ace8f1c
[3/6] powerpc/powernv: Staticify functions without prototypes
https://git.kernel.org/powerpc/c/3b70464aa78917e88c1d4bfc2100c344c0eda8e0
[4/6] powerpc/powernv: Fix spurious kerneldoc warnings in opal-prd.c
https://git.kernel.org/powerpc/c/fb248c3121af713f31736af359608491544cfc23
[5/6] powerpc/powernv: Remove set but not used variable 'parent'
https://git.kernel.org/powerpc/c/18102e4bcc47f5b5ac70e2e4461d022c1ee6df24
[6/6] powerpc/nx: Don't pack struct coprocessor_request_block
https://git.kernel.org/powerpc/c/3ced132a055c4e5046d21732393ae6848ff309e0
cheers