powerpc: Fix W=1 compile errors
Status from this message: Applied to powerpc/next.
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v2 Latest23 patches 1 replyApplied
- v123 patches 9 repliesSuperseded
Changes in v2 from the cover letter
- improved commit logs
- reworked some changes to reduce the number of lines.
- fixed misuse of asm/asm-prototypes.h for soft_nmi_interrupt()
Patches in v2 Applied
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/23 | powerpc/mm: Include __find_linux_pte() prototypearch/ | +1 | 0 replies | |
| 2/23 | powerpc/pseries/ras: Remove unused variable 'status'arch/ | +4 | 0 replies | |
| 3/23 | powerpc/pseries/eeh: Make pseries_pcibios_bus_add_device() staticarch/ | +1 | 0 replies | |
| 4/23 | powerpc/pseries/ras: Make init_ras_hotplug_IRQ() staticarch/ | +1 | 0 replies | |
| 5/23 | powerpc/pmem: Include pmem prototypesarch/ | +1 | 0 replies | |
| 6/23 | powerpc/setup_64: Make some routines staticarch/ | +4 | 0 replies | |
| 7/23 | powerpc/mce: Include prototypesarch/ | +1 | 0 replies | |
| 8/23 | powerpc/smp: Include tick_broadcast() prototypearch/ | +1 | 0 replies | |
| 9/23 | powerpc/smp: Make debugger_ipi_callback() staticarch/ | +1 | 0 replies | |
| 10/23 | powerpc/optprobes: Remove unused routine patch_imm32_load_insns()arch/ | +0 | 0 replies | |
| 11/23 | powerpc/optprobes: Make patch_imm64_load_insns() staticarch/ | +1 | 0 replies | |
| 12/23 | powerpc/mm: Declare some prototypesarch/ | +2 | 0 replies | |
| 13/23 | powerpc/mm: Move hpte_insert_repeating() prototypearch/ arch/ | +2 | 0 replies | |
| 14/23 | powerpc/mm: Declare preload_new_slb_context() prototypearch/ | +1 | 0 replies | |
| 15/23 | powerpc/mm/hugetlb: Make pseries_alloc_bootmem_huge_page() staticarch/ | +1 | 0 replies | |
| 16/23 | powerpc/mm: Declare arch_report_meminfo() prototype.arch/ | +3 | 0 replies | |
| 17/23 | powerpc/watchdog: Declare soft_nmi_interrupt() prototypearch/ arch/ | +2 | 0 replies | |
| 18/23 | KVM: PPC: Make the VMX instruction emulation routines staticarch/ | +4 | 0 replies | |
| 19/23 | KVM: PPC: Book3S HV: Include prototypesarch/ | +1 | 0 replies | |
| 20/23 | KVM: PPC: Book3S HV: Declare some prototypesarch/ | +7 | 0 replies | |
| 21/23 | powerpc/pseries: Make IOV setup routines staticarch/ | +4 | 0 replies | |
| 22/23 | powerpc/pcidn: Make IOV setup routines staticarch/ | +7 | 0 replies | |
| 23/23 | powerpc/pseries/eeh: Make pseries_send_allow_unfreeze() staticarch/ | +1 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v2 yet.
Cover letter [PATCH v2 00/23] powerpc: Fix W=1 compile errors
Hello,
Here is an assorted collection of fixes for W=1.
After this series, only a few errors are left, some missing declarations in arch/powerpc/kernel/sys_ppc32.c, panic_smp_self_stop() declaration and a few of these which I don't know how to fix :
./arch/powerpc/xmon/xmon.c: In function ‘xmon_print_symbol’:
./arch/powerpc/xmon/xmon.c:3656:14: error: variable ‘name’ might be clobbered by ‘longjmp’ or ‘vfork’ [-Werror=clobbered]
3656 | const char *name = NULL;
| ^~~~Cheers,
C.
Changes in v2 :
- improved commit logs
- reworked some changes to reduce the number of lines.
- fixed misuse of asm/asm-prototypes.h for soft_nmi_interrupt()
Cédric Le Goater (23):
powerpc/mm: Include __find_linux_pte() prototype powerpc/pseries/ras: Remove unused variable 'status' powerpc/pseries/eeh: Make pseries_pcibios_bus_add_device() static powerpc/pseries/ras: Make init_ras_hotplug_IRQ() static powerpc/pmem: Include pmem prototypes powerpc/setup_64: Make some routines static powerpc/mce: Include prototypes
powerpc/smp: Include tick_broadcast() prototype powerpc/smp: Make debugger_ipi_callback() static powerpc/optprobes: Remove unused routine patch_imm32_load_insns() powerpc/optprobes: Make patch_imm64_load_insns() static powerpc/mm: Declare some prototypes
powerpc/mm: Move hpte_insert_repeating() prototype powerpc/mm: Declare preload_new_slb_context() prototype powerpc/mm/hugetlb: Make pseries_alloc_bootmem_huge_page() static powerpc/mm: Declare arch_report_meminfo() prototype. powerpc/watchdog: Declare soft_nmi_interrupt() prototype
KVM: PPC: Make the VMX instruction emulation routines static
KVM: PPC: Book3S HV: Include prototypes
KVM: PPC: Book3S HV: Declare some prototypes powerpc/pseries: Make IOV setup routines static powerpc/pcidn: Make IOV setup routines static powerpc/pseries/eeh: Make pseries_send_allow_unfreeze() static
arch/powerpc/include/asm/book3s/64/mmu-hash.h | 5 +++++ arch/powerpc/include/asm/kvm_book3s.h | 7 +++++++ arch/powerpc/include/asm/nmi.h | 1 + arch/powerpc/include/asm/pgtable.h | 3 +++ arch/powerpc/kernel/mce.c | 1 + arch/powerpc/kernel/optprobes.c | 21 +------------------ arch/powerpc/kernel/setup_64.c | 7 ++++--- arch/powerpc/kernel/smp.c | 3 ++- arch/powerpc/kernel/watchdog.c | 1 + arch/powerpc/kvm/book3s_64_mmu_hv.c | 1 + arch/powerpc/kvm/powerpc.c | 8 +++---- arch/powerpc/lib/pmem.c | 1 + arch/powerpc/mm/book3s64/hash_hugetlbpage.c | 4 ---- arch/powerpc/mm/hugetlbpage.c | 2 +- arch/powerpc/mm/pgtable.c | 1 + arch/powerpc/platforms/pseries/eeh_pseries.c | 5 ++--- arch/powerpc/platforms/pseries/pci.c | 15 +++++++------ arch/powerpc/platforms/pseries/ras.c | 15 +++++-------- arch/powerpc/platforms/pseries/setup.c | 8 +++---- 19 files changed, 51 insertions(+), 58 deletions(-)
Signature · 1 line
2.26.2