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

Arnd Bergmann arnd at kernel.org
Thu Nov 23 03:05:00 PST 2023


From: Arnd Bergmann <arnd at 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(-)

-- 
2.39.2

Cc: "David S. Miller" <davem at davemloft.net>
Cc: David Woodhouse <dwmw2 at infradead.org>
Cc: Dinh Nguyen <dinguyen at kernel.org>
Cc: Greg Kroah-Hartman <gregkh at linuxfoundation.org>
Cc: Ivan Kokshaysky <ink at jurassic.park.msu.ru>
Cc: John Paul Adrian Glaubitz <glaubitz at physik.fu-berlin.de>
Cc: Michael Ellerman <mpe at ellerman.id.au>
Cc: Masahiro Yamada <masahiroy at kernel.org>
Cc: Matt Turner <mattst88 at gmail.com>
Cc: Nathan Chancellor <nathan at kernel.org>
Cc: Nicolas Schier <nicolas at fjasle.eu>
Cc: Peter Zijlstra <peterz at infradead.org>
Cc: Rich Felker <dalias at libc.org>
Cc: Richard Henderson <richard.henderson at linaro.org>
Cc: Richard Weinberger <richard at nod.at>
Cc: Stephen Rothwell <sfr at canb.auug.org.au>
Cc: Thomas Bogendoerfer <tsbogend at alpha.franken.de>
Cc: Tudor Ambarus <tudor.ambarus at linaro.org>
Cc: Yoshinori Sato <ysato at users.sourceforge.jp>
Cc: linux-arch at vger.kernel.org
Cc: linux-alpha at vger.kernel.org
Cc: linux-kbuild at vger.kernel.org
Cc: linux-kernel at vger.kernel.org
Cc: linux-mips at vger.kernel.org
Cc: linux-mtd at lists.infradead.org
Cc: linux-sh at vger.kernel.org
Cc: linux-usb at vger.kernel.org
Cc: sparclinux at vger.kernel.org
Cc: x86 at kernel.org



More information about the linux-mtd mailing list