[PATCH 00/14] mm/init/kernel: missing-prototypes warnings
Arnd Bergmann
arnd at kernel.org
Wed May 17 06:10:48 PDT 2023
From: Arnd Bergmann <arnd at arndb.de>
These are patches addressing -Wmissing-prototypes warnings in common
kernel code and memory management code files that usually get merged
through the -mm tree.
Andrew, can you pick these up in the -mm tree?
Arnd
Arnd Bergmann (14):
mm: percpu: unhide pcpu_embed_first_chunk prototype
mm: page_poison: always declare __kernel_map_pages() function
mm: sparse: mark populate_section_memmap() static
audit: avoid missing-prototype warnings
lib: devmem_is_allowed: include linux/io.h
locking: add lockevent_read() prototype
panic: hide unused global functions
panic: make function declarations visible
kunit: include debugfs header file
suspend: add a arch_resume_nosmt() prototype
init: consolidate prototypes in linux/init.h
init: move cifs_root_data() prototype into linux/mount.h
thread_info: move function declarations to linux/thread_info.h
time_namespace: always provide arch_get_vdso_data() prototype for vdso
arch/arm/include/asm/irq.h | 1 -
arch/arm64/include/asm/thread_info.h | 4 ----
arch/microblaze/include/asm/setup.h | 2 --
arch/mips/include/asm/irq.h | 1 -
arch/parisc/kernel/smp.c | 1 -
arch/powerpc/include/asm/irq.h | 1 -
arch/riscv/include/asm/irq.h | 2 --
arch/riscv/include/asm/timex.h | 2 --
arch/s390/include/asm/thread_info.h | 3 ---
arch/s390/kernel/entry.h | 2 --
arch/sh/include/asm/irq.h | 1 -
arch/sh/include/asm/rtc.h | 2 --
arch/sh/include/asm/thread_info.h | 3 ---
arch/sparc/include/asm/irq_32.h | 1 -
arch/sparc/include/asm/irq_64.h | 1 -
arch/sparc/include/asm/timer_64.h | 1 -
arch/sparc/kernel/kernel.h | 4 ----
arch/x86/include/asm/irq.h | 2 --
arch/x86/include/asm/mem_encrypt.h | 3 ---
arch/x86/include/asm/thread_info.h | 3 ---
arch/x86/include/asm/time.h | 1 -
arch/x86/include/asm/tsc.h | 1 -
include/asm-generic/bug.h | 5 +++--
include/linux/acpi.h | 3 ++-
include/linux/audit.h | 2 --
include/linux/audit_arch.h | 2 ++
include/linux/delay.h | 1 +
include/linux/init.h | 20 ++++++++++++++++++++
include/linux/mm.h | 3 +--
include/linux/mount.h | 2 ++
include/linux/panic.h | 3 +++
include/linux/percpu.h | 2 --
include/linux/suspend.h | 2 ++
include/linux/thread_info.h | 5 +++++
include/linux/time_namespace.h | 3 ++-
init/do_mounts.c | 2 --
init/main.c | 18 ------------------
kernel/audit.h | 2 +-
kernel/locking/lock_events.h | 4 ++++
kernel/panic.c | 3 +--
lib/devmem_is_allowed.c | 1 +
lib/kunit/debugfs.c | 1 +
mm/sparse.c | 2 +-
43 files changed, 52 insertions(+), 76 deletions(-)
--
2.39.2
Cc: Russell King <linux at armlinux.org.uk>
Cc: Catalin Marinas <catalin.marinas at arm.com>
Cc: Will Deacon <will at kernel.org>
Cc: Michal Simek <monstr at monstr.eu>
Cc: Thomas Bogendoerfer <tsbogend at alpha.franken.de>
Cc: Helge Deller <deller at gmx.de>
Cc: Michael Ellerman <mpe at ellerman.id.au>
Cc: Palmer Dabbelt <palmer at dabbelt.com>
Cc: Heiko Carstens <hca at linux.ibm.com>
Cc: Thomas Gleixner <tglx at linutronix.de>
Cc: Ingo Molnar <mingo at redhat.com>
Cc: x86 at kernel.org
Cc: "Rafael J. Wysocki" <rafael at kernel.org>
Cc: Paul Moore <paul at paul-moore.com>
Cc: Eric Paris <eparis at redhat.com>
Cc: Andrew Morton <akpm at linux-foundation.org>
Cc: Dennis Zhou <dennis at kernel.org>
Cc: Tejun Heo <tj at kernel.org>
Cc: Christoph Lameter <cl at linux.com>
Cc: Pavel Machek <pavel at ucw.cz>
Cc: Peter Zijlstra <peterz at infradead.org>
Cc: Waiman Long <longman at redhat.com>
Cc: Boqun Feng <boqun.feng at gmail.com>
Cc: linux-arm-kernel at lists.infradead.org
Cc: linux-kernel at vger.kernel.org
Cc: linux-mips at vger.kernel.org
Cc: linux-parisc at vger.kernel.org
Cc: linuxppc-dev at lists.ozlabs.org
Cc: linux-riscv at lists.infradead.org
Cc: linux-s390 at vger.kernel.org
Cc: linux-sh at vger.kernel.org
Cc: audit at vger.kernel.org
Cc: linux-mm at kvack.org
Cc: linux-pm at vger.kernel.org
Cc: linux-kselftest at vger.kernel.org
Cc: kunit-dev at googlegroups.com
More information about the linux-riscv
mailing list