[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <mhng-ce493a2d-71e9-440f-84d0-522a4f694bbe@palmer-ri-x1c9>
Date: Wed, 16 Aug 2023 07:38:47 -0700 (PDT)
From: Palmer Dabbelt <palmer@...belt.com>
To: arnd@...nel.org
CC: akpm@...ux-foundation.org, linux-kernel@...r.kernel.org,
Arnd Bergmann <arnd@...db.de>, mattst88@...il.com,
vgupta@...nel.org, linux@...linux.org.uk,
Catalin Marinas <catalin.marinas@....com>,
Will Deacon <will@...nel.org>, guoren@...nel.org,
bcain@...cinc.com, chenhuacai@...nel.org, kernel@...0n.name,
geert@...ux-m68k.org, monstr@...str.eu, tsbogend@...ha.franken.de,
dinguyen@...nel.org, jonas@...thpole.se,
stefan.kristiansson@...nalahti.fi, shorne@...il.com,
James.Bottomley@...senPartnership.com, deller@....de,
mpe@...erman.id.au, christophe.leroy@...roup.eu, hca@...ux.ibm.com,
glaubitz@...sik.fu-berlin.de, x86@...nel.org, bp@...en8.de,
jcmvbkbc@...il.com, axboe@...nel.dk, sudipm.mukherjee@...il.com,
martin.petersen@...cle.com, richard@....at, bhelgaas@...gle.com,
masahiroy@...nel.org, nathan@...nel.org, ndesaulniers@...gle.com,
linux@...ck-us.net, Stephen Rothwell <sfr@...b.auug.org.au>,
linux-next@...r.kernel.org, linux-alpha@...r.kernel.org,
linux-snps-arc@...ts.infradead.org,
linux-arm-kernel@...ts.infradead.org, linux-csky@...r.kernel.org,
linux-hexagon@...r.kernel.org, linux-ia64@...r.kernel.org,
loongarch@...ts.linux.dev, linux-m68k@...ts.linux-m68k.org,
linux-mips@...r.kernel.org, linux-openrisc@...r.kernel.org,
linux-parisc@...r.kernel.org, linuxppc-dev@...ts.ozlabs.org,
linux-riscv@...ts.infradead.org, linux-s390@...r.kernel.org,
linux-sh@...r.kernel.org, sparclinux@...r.kernel.org,
linux-block@...r.kernel.org, linux-scsi@...r.kernel.org,
linux-mtd@...ts.infradead.org, linux-trace-kernel@...r.kernel.org,
linux-pci@...r.kernel.org, linux-kbuild@...r.kernel.org
Subject: Re: [PATCH 00/17] -Wmissing-prototype warning fixes
On Thu, 10 Aug 2023 07:19:18 PDT (-0700), arnd@...nel.org wrote:
> From: Arnd Bergmann <arnd@...db.de>
>
> 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(-)
Acked-by: Palmer Dabbelt <palmer@...osinc.com> # RISC-V
Powered by blists - more mailing lists