mbox series

[v3,0/6] Treewide: enable -Wmissing-prototypes

Message ID 20231123110506.707903-1-arnd@kernel.org
Headers show
Series Treewide: enable -Wmissing-prototypes | expand

Message

Arnd Bergmann Nov. 23, 2023, 11:05 a.m. UTC
From: Arnd Bergmann <arnd@arndb.de>

Hi Andrew,

I think all other patches I have sent for -Wmissing-prototypes have made it
into linux-next by now, these ones either got an Ack from the respective
maintainers, or never got a reply. I just merged a few patches from my
previous series into the asm-generic tree, these are not in linux-next
today but should be for the next next. I also resent the powerpc patches
to make sure they get merged soon.

Can you pick these six up into -mm for v6.8?

Quoting from my description to patch 6/6:
  "At this point, there are five architectures with a number of known
   regressions: alpha, nios2, mips, sh and sparc. In the previous version
   of this patch, I had turned off the missing prototype warnings for the 15
   architectures that still had issues, but since there are only five left,
   I think we can leave the rest to the maintainers (Cc'd here) as well."

The series is also likely to cause occasional build regressions on linux-next
as developers add new code that misses prototypes. Hopefully this should
be resolved by the time the patches make it into a release and everyone
gets the warnings right away.

    Arnd

Arnd Bergmann (6):
  ida: make 'ida_dump' static
  jffs2: mark __jffs2_dbg_superblock_counts() static
  sched: fair: move unused stub functions to header
  x86: sta2x11: include header for sta2x11_get_instance() prototype
  usb: fsl-mph-dr-of: mark fsl_usb2_mpc5121_init() static
  Makefile.extrawarn: turn on missing-prototypes globally

 arch/x86/pci/sta2x11-fixup.c     |  1 +
 drivers/usb/host/fsl-mph-dr-of.c |  2 +-
 fs/jffs2/debug.c                 |  2 +-
 kernel/sched/fair.c              | 13 -------------
 kernel/sched/sched.h             | 11 +++++++++++
 lib/test_ida.c                   |  2 +-
 scripts/Makefile.extrawarn       |  4 ++--
 7 files changed, 17 insertions(+), 18 deletions(-)