Skip to content

remaining x86 -Wmissing-prototype warnings

Arnd Bergmann lkml 1 version Applied

Status from this message: The following commit has been merged into the x86/cleanups branch of tip:

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest5 patches 10 repliesApplied

Patches in v1 Applied

#Subject and filesSizeRepliesApplied
1/5x86: apic: hide unused safe_smp_processor_id on UParch/x86/kernel/apic/ipi.c+2 -00 replies
2/5x86: avoid unneeded __div64_32 function definitionarch/x86/include/asm/div64.h+2 -06 replies
3/5x86: qspinlock-paravirt: fix mising-prototype warningsarch/x86/include/asm/qspinlock_paravirt.h arch/x86/kernel/paravirt.c kernel/locking/qspinlock_paravirt.h+14 -104 replies
4/5x86: purgatory: include header for warn() declarationarch/x86/boot/compressed/error.c arch/x86/boot/compressed/error.h arch/x86/purgatory/purgatory.c+3 -20 replies
5/5x86: alternative: add __alt_reloc_selftest prototypearch/x86/kernel/alternative.c+1 -00 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/5] remaining x86 -Wmissing-prototype warnings

From: Arnd Bergmann <[email protected]>

Most of the patches addressing -Wmissing-prototype warnings were already merged, including 16 of the 20 x86 patches I sent before, and all except 10 other patches that I need to resubmit to other trees.

I checked that these five are all still required and that there were no remaining comments I needed to address. Four patches are from v1 of the series, the last one was sent separately last time, and the contents are unchanged from the original submission.

These patches have passed a few thousand randconfig builds with the warning enabled.

Arnd Bergmann (5):
[RESEND] x86: apic: hide unused safe_smp_processor_id on UP [RESEND] x86: avoid unneeded __div64_32 function definition [RESEND] x86: qspinlock-paravirt: fix mising-prototype warnings [RESEND] x86: purgatory: include header for warn() declaration [RESEND] x86: alternative: add __alt_reloc_selftest prototype

 arch/x86/boot/compressed/error.c          |  2 +-
 arch/x86/boot/compressed/error.h          |  2 +-
 arch/x86/include/asm/div64.h              |  2 ++
 arch/x86/include/asm/qspinlock_paravirt.h |  2 ++
 arch/x86/kernel/alternative.c             |  1 +
 arch/x86/kernel/apic/ipi.c                |  2 ++
 arch/x86/kernel/paravirt.c                |  2 ++
 arch/x86/purgatory/purgatory.c            |  1 +
 kernel/locking/qspinlock_paravirt.h       | 20 ++++++++++----------
 9 files changed, 22 insertions(+), 12 deletions(-)
Signature · 9 lines
2.39.2

Cc: Thomas Gleixner <[email protected]> 
Cc: Ingo Molnar <[email protected]>
Cc: Borislav Petkov <[email protected]>
Cc: Dave Hansen <[email protected]>
Cc: [email protected]
Cc: "H. Peter Anvin" <[email protected]> 
Cc: [email protected]