Skip to content

mm/init/kernel: missing-prototypes warnings

Arnd Bergmann audit linux-arm-kernel linux-kselftest linux-mips linux-mm linux-parisc linux-pm linux-riscv linux-s390 linux-sh linuxppc-dev lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest14 patches 9 repliesIn review 11 of 14 applied

Patches in v1 11 of 14 applied

#Subject and filesSizeRepliesApplied
1/14mm: percpu: unhide pcpu_embed_first_chunk prototypeinclude/linux/percpu.h+0 -20 repliesApplied
2/14mm: page_poison: always declare __kernel_map_pages() functioninclude/linux/mm.h+1 -20 repliesApplied
3/14mm: sparse: mark populate_section_memmap() staticmm/sparse.c+1 -10 repliesApplied
4/14audit: avoid missing-prototype warningsinclude/linux/audit.h include/linux/audit_arch.h kernel/audit.h+3 -33 replies
5/14lib: devmem_is_allowed: include linux/io.hlib/devmem_is_allowed.c+1 -00 repliesApplied
6/14locking: add lockevent_read() prototypekernel/locking/lock_events.h+4 -00 repliesApplied
7/14panic: hide unused global functionskernel/panic.c+1 -20 repliesApplied
8/14panic: make function declarations visibleinclude/asm-generic/bug.h include/linux/panic.h+6 -20 repliesApplied
9/14kunit: include debugfs header filelib/kunit/debugfs.c+1 -01 replyApplied
10/14suspend: add a arch_resume_nosmt() prototypeinclude/linux/suspend.h+2 -03 replies
11/14init: consolidate prototypes in linux/init.harch/arm/include/asm/irq.h arch/microblaze/include/asm/setup.h arch/mips/include/asm/irq.h +19 more+23 -481 reply
12/14init: move cifs_root_data() prototype into linux/mount.hinclude/linux/mount.h init/do_mounts.c+2 -20 repliesApplied
13/14thread_info: move function declarations to linux/thread_info.harch/arm64/include/asm/thread_info.h arch/s390/include/asm/thread_info.h arch/sh/include/asm/thread_info.h +2 more+5 -131 replyApplied
14/14time_namespace: always provide arch_get_vdso_data() prototype for vdsoinclude/linux/time_namespace.h+2 -10 repliesApplied

Reviews trailers per patch

4 of 14 patches have a Reviewed-by or Acked-by.

PatchRafael J. WysockiDavid GowCatalin MarinasPalmer Dabbelt
1/14
2/14
3/14
4/14
5/14
6/14
7/14
8/14
9/14R-b
10/14A-b
11/14R-b A-b
12/14
13/14A-b
14/14

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 4 reviewers.

Read the v1 thread

Cover letter [PATCH 00/14] mm/init/kernel: missing-prototypes warnings

From: Arnd Bergmann <[email protected]>

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(-)
Signature · 39 lines
2.39.2


Cc: Russell King <[email protected]>
Cc: Catalin Marinas <[email protected]>
Cc: Will Deacon <[email protected]>
Cc: Michal Simek <[email protected]>
Cc: Thomas Bogendoerfer <[email protected]>
Cc: Helge Deller <[email protected]>
Cc: Michael Ellerman <[email protected]>
Cc: Palmer Dabbelt <[email protected]>
Cc: Heiko Carstens <[email protected]>
Cc: Thomas Gleixner <[email protected]>
Cc: Ingo Molnar <[email protected]>
Cc: [email protected]
Cc: "Rafael J. Wysocki" <[email protected]>
Cc: Paul Moore <[email protected]>
Cc: Eric Paris <[email protected]>
Cc: Andrew Morton <[email protected]>
Cc: Dennis Zhou <[email protected]>
Cc: Tejun Heo <[email protected]>
Cc: Christoph Lameter <[email protected]>
Cc: Pavel Machek <[email protected]>
Cc: Peter Zijlstra <[email protected]>
Cc: Waiman Long <[email protected]>
Cc: Boqun Feng <[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]