Hello, With this small series, I could compile the ppc kernel with W=1. There are certainly other configs which will need more fixes but it's a good start.
The last 2 patches look hacky. Christophe, could you help with these to find a better place to include the declarations ? Thanks, C. Cédric Le Goater (6): powerpc/prom: Introduce early_reserve_mem_old() powerpc/pseries/vas: Declare pseries_vas_fault_thread_fn() as static KVM: PPC: Book3S PR: Declare kvmppc_handle_exit_pr() KVM: PPC: Book3S PR: Remove unused variable audit: Declare ppc32_classify_syscall() powerpc/compat_sys: Declare syscalls arch/powerpc/include/asm/syscalls.h | 31 +++++++++++++++++++++++ arch/powerpc/include/asm/unistd.h | 3 +++ arch/powerpc/kvm/book3s.h | 1 + arch/powerpc/kernel/audit.c | 1 - arch/powerpc/kernel/prom.c | 37 +++++++++++++++------------- arch/powerpc/kvm/book3s_64_mmu.c | 3 +-- arch/powerpc/platforms/pseries/vas.c | 2 +- 7 files changed, 57 insertions(+), 21 deletions(-) -- 2.31.1