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

Arnd Bergmann posted 6 patches 2 years ago
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(-)
[PATCH v3 0/6] Treewide: enable -Wmissing-prototypes
Posted by Arnd Bergmann 2 years ago
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(-)

-- 
2.39.2

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