-Wmissing-prototype warning fixes
Status from this message: Applied, thanks.
Get series with b4
b4 am [email protected]Versions newest first
Patches in v1 Applied
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/17 | jffs2: mark __jffs2_dbg_superblock_counts() staticfs/ | +1 | 0 replies | |
| 2/17 | irq_work: consolidate arch_irq_work_raise prototypesarch/ arch/ arch/ +5 more | +5 | 2 replies | |
| 3/17 | ida: make 'ida_dump' staticlib/ | +1 | 0 replies | |
| 4/17 | pci: sysfs: move declarations to linux/pci.harch/ include/ | +5 | 1 reply | |
| 5/17 | swim3: mark swim3_init() staticdrivers/ | +1 | 2 replies | |
| 6/17 | macintosh/ams: mark ams_init() staticdrivers/ | +1 | 1 reply | |
| 7/17 | scsi: qlogicpti: mark qlogicpti_info() staticdrivers/ | +1 | 2 replies | |
| 8/17 | microblaze: mark flush_dcache_folio() inlinearch/ | +1 | 1 reply | |
| 9/17 | parport: gsc: mark init function staticdrivers/ | +1 | 2 replies | |
| 10/17 | zorro: include zorro.h in names.cdrivers/ | +1 | 1 reply | |
| 11/17 | scsi: gvp11: remove unused gvp11_setup() functiondrivers/ | +0 | 2 replies | |
| 12/17 | time: make sysfs_get_uname() function visible in headerkernel/ | +2 | 0 replies | |
| 13/17 | stackleak: add declarations for global functionsinclude/ | +6 | 0 replies | |
| 14/17 | kprobes: unify kprobes_exceptions_nofify() prototypesarch/ arch/ arch/ +8 more | +4 | 1 reply | |
| 15/17 | arch: fix asm-offsets.c building with -Wmissing-prototypesarch/ arch/ arch/ +1 more | +16 | 2 replies | |
| 16/17 | arch: turn -Wmissing-prototypes off conditionallyarch/ arch/ arch/ +23 more | +52 | 8 replies | |
| 17/17 | Makefile.extrawarn: turn on missing-prototypes againscripts/ | +3 | 1 reply |
Reviews trailers per patch
11 of 17 patches have a Reviewed-by or Acked-by of their own; the series has one for all of them.
| Patch | Tudor Ambarus | Catalin Marinas | Palmer Dabbelt | Guo Ren | Alexander Gordeev | Jack Wang | Helge Deller | Christophe Leroy | Kees Cook | Masami Hiramatsu (Google) | Geert Uytterhoeven | Michal Simek | Sudip Mukherjee |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Series | A-b | ||||||||||||
| 1/17 | R-b | ||||||||||||
| 2/17 | A-b | A-b | A-b | R-b | |||||||||
| 3/17 | |||||||||||||
| 4/17 | |||||||||||||
| 5/17 | R-b | ||||||||||||
| 6/17 | R-b | ||||||||||||
| 7/17 | R-b | ||||||||||||
| 8/17 | A-b | ||||||||||||
| 9/17 | A-b | A-b | |||||||||||
| 10/17 | R-b | ||||||||||||
| 11/17 | R-b | ||||||||||||
| 12/17 | |||||||||||||
| 13/17 | |||||||||||||
| 14/17 | A-b | ||||||||||||
| 15/17 | |||||||||||||
| 16/17 | |||||||||||||
| 17/17 | R-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 13 reviewers.
Cover letter [PATCH 00/17] -Wmissing-prototype warning fixes
From: Arnd Bergmann <[email protected]>
Most of the patches I sent so far for the -Wmissing-prototype warnings have made it into linux-next now. There are a few that I'm resending now as nobody has picked them up, and then a number of fixes that I found while test-building across all architectures rather than just the ones I usually test.
The first 15 patches in this series should be uncontroversial, so I expect that either a subsystem maintainer or Andrew Morton can apply these directly.
For the last two patches, these might still need some debate about how to handle them. I added a Kconfig option to turn off most of the missing prototype warnings in the architectures that nobody has fixed yet, see patch 16 for those. The last patch does cause some known warnings and likely unknown ones for architectures other than x86 and arm, so applying it now will bring new problems, but not applying it also means that new warnings creep in, so I think this is mainly a question of what the best timing is for having this in linux-next.
Arnd Bergmann (17):
[RESEND] jffs2: mark __jffs2_dbg_superblock_counts() static [RESEND] irq_work: consolidate arch_irq_work_raise prototypes [RESEND] ida: make 'ida_dump' static
pci: sysfs: move declarations to linux/pci.h
swim3: mark swim3_init() static
macintosh/ams: mark ams_init() static
scsi: qlogicpti: mark qlogicpti_info() static
microblaze: mark flush_dcache_folio() inline
parport: gsc: mark init function static
zorro: include zorro.h in names.c
scsi: gvp11: remove unused gvp11_setup() function
time: make sysfs_get_uname() function visible in header
stackleak: add declarations for global functions
kprobes: unify kprobes_exceptions_nofify() prototypes
arch: fix asm-offsets.c building with -Wmissing-prototypes [RFC] arch: turn -Wmissing-prototypes off conditionally [RFC] Makefile.extrawarn: turn on missing-prototypes again
arch/alpha/Kbuild | 2 ++ arch/alpha/include/asm/pci.h | 3 --- arch/alpha/kernel/asm-offsets.c | 2 +- arch/alpha/lib/Makefile | 1 + arch/arc/Kbuild | 2 ++ arch/arc/include/asm/kprobes.h | 3 --- arch/arm/include/asm/irq_work.h | 2 -- arch/arm/include/asm/kprobes.h | 2 -- arch/arm64/include/asm/irq_work.h | 2 -- arch/arm64/include/asm/kprobes.h | 2 -- arch/csky/Kbuild | 2 ++ arch/csky/include/asm/irq_work.h | 2 +- arch/hexagon/Kbuild | 2 ++ arch/ia64/Kbuild | 2 ++ arch/ia64/include/asm/kprobes.h | 2 -- arch/ia64/kernel/asm-offsets.c | 2 +- arch/ia64/lib/Makefile | 1 + arch/loongarch/Kbuild | 2 ++ arch/loongarch/kernel/asm-offsets.c | 12 ++++++++++++ arch/m68k/Kbuild | 2 ++ arch/m68k/lib/Makefile | 1 + arch/microblaze/Kbuild | 2 ++ arch/microblaze/include/asm/cacheflush.h | 2 +- arch/mips/Kbuild | 2 ++ arch/mips/boot/compressed/Makefile | 3 ++- arch/mips/include/asm/kprobes.h | 2 -- arch/nios2/Kbuild | 2 ++ arch/nios2/lib/Makefile | 1 + arch/openrisc/Kbuild | 2 ++ arch/parisc/Kbuild | 2 ++ arch/parisc/lib/Makefile | 1 + arch/powerpc/include/asm/irq_work.h | 1 - arch/powerpc/include/asm/kprobes.h | 2 -- arch/riscv/include/asm/irq_work.h | 2 +- arch/s390/include/asm/irq_work.h | 2 -- arch/s390/include/asm/kprobes.h | 2 -- arch/sh/Kbuild | 2 ++ arch/sh/boot/compressed/Makefile | 1 + arch/sh/include/asm/kprobes.h | 2 -- arch/sparc/Kbuild | 2 ++ arch/sparc/include/asm/kprobes.h | 2 -- arch/sparc/kernel/asm-offsets.c | 13 ++----------- arch/sparc/lib/Makefile | 1 + arch/sparc/prom/Makefile | 1 + arch/x86/include/asm/irq_work.h | 1 - arch/x86/include/asm/kprobes.h | 2 -- arch/xtensa/Kbuild | 2 ++ arch/xtensa/boot/lib/Makefile | 2 ++ drivers/block/swim3.c | 2 +- drivers/macintosh/ams/ams-core.c | 2 +- drivers/parport/parport_gsc.c | 2 +- drivers/scsi/gvp11.c | 5 ----- drivers/scsi/qlogicpti.c | 2 +- drivers/zorro/names.c | 1 + fs/jffs2/debug.c | 2 +- include/linux/irq_work.h | 3 +++ include/linux/kprobes.h | 4 ++++ include/linux/pci.h | 5 +++++ include/linux/stackleak.h | 6 ++++++ init/Kconfig | 10 ++++++++++ kernel/time/tick-internal.h | 3 ++- lib/test_ida.c | 2 +- scripts/Makefile.extrawarn | 5 +++-- 63 files changed, 101 insertions(+), 63 deletions(-)
Signature · 63 lines
2.39.2 Cc: Matt Turner <[email protected]> Cc: Vineet Gupta <[email protected]> Cc: Russell King <[email protected]> Cc: Catalin Marinas <[email protected]> Cc: Will Deacon <[email protected]> Cc: Guo Ren <[email protected]> Cc: Brian Cain <[email protected]> Cc: Huacai Chen <[email protected]> Cc: WANG Xuerui <[email protected]> Cc: Geert Uytterhoeven <[email protected]> Cc: Michal Simek <[email protected]> Cc: Thomas Bogendoerfer <[email protected]> Cc: Dinh Nguyen <[email protected]> Cc: Jonas Bonn <[email protected]> Cc: Stefan Kristiansson <[email protected]> Cc: Stafford Horne <[email protected]> Cc: "James E.J. Bottomley" <[email protected]> Cc: Helge Deller <[email protected]> Cc: Michael Ellerman <[email protected]> Cc: Christophe Leroy <[email protected]> Cc: Palmer Dabbelt <[email protected]> Cc: Heiko Carstens <[email protected]> Cc: John Paul Adrian Glaubitz <[email protected]> Cc: [email protected] Cc: Borislav Petkov <[email protected]> Cc: Max Filippov <[email protected]> Cc: Jens Axboe <[email protected]> Cc: Sudip Mukherjee <[email protected]> Cc: "Martin K. Petersen" <[email protected]> Cc: Richard Weinberger <[email protected]> Cc: Bjorn Helgaas <[email protected]> Cc: Masahiro Yamada <[email protected]> Cc: Nathan Chancellor <[email protected]> Cc: Nick Desaulniers <[email protected]> Cc: Arnd Bergmann <[email protected]> Cc: Guenter Roeck <[email protected]> Cc: Stephen Rothwell <[email protected]> Cc: [email protected] Cc: Andrew Morton <[email protected]> Cc: [email protected] Cc: [email protected] Cc: [email protected] Cc: [email protected] Cc: [email protected] Cc: [email protected] Cc: [email protected] Cc: [email protected] Cc: [email protected] Cc: [email protected] Cc: [email protected] Cc: [email protected] Cc: [email protected] Cc: [email protected] Cc: [email protected] Cc: [email protected] Cc: [email protected] Cc: [email protected] Cc: [email protected] Cc: [email protected] Cc: [email protected] Cc: [email protected] Cc: [email protected]