mail archive of the barebox mailing list
 help / color / mirror / Atom feed
From: Sascha Hauer <s.hauer@pengutronix.de>
To: Barebox List <barebox@lists.infradead.org>
Subject: [PATCH 00/20] Fix another ton of missing prototype warnings
Date: Fri,  9 Nov 2018 10:52:26 +0100	[thread overview]
Message-ID: <20181109095246.15068-1-s.hauer@pengutronix.de> (raw)

With this series imx_v7_defconfig compiles without warnings when
-Wmissing-prototypes is enabled.

The last patch in this series adds -Wmissing-prototypes to all
architectures. I'm not sure yet if I merge this into master given
the amount of warnings this generates for other defconfigs, but
I think I'll merge it to -next to increase the visibility of the
warnings in the hope that I get more fixes for them.

Sascha

Sascha Hauer (20):
  ARM: interrupts: Avoid missing prototypes warning
  ARM: psci: Avoid missing prototypes warning
  gui: lodepng: Avoid missing prototypes warning
  ARM: sm: Make locally used function static
  fs: ubifs: Avoid missing prototype warning
  ARM: start: Add missing include
  ARM: start: Add missing prototype
  ARM: Add missing prototype for arm_mem_ramoops_get()
  ARM: i.MX50: Make locally used function static
  ARM: i.MX27: Add missing prototype for imx27_get_boot_source()
  ARM: i.MX: add missing include
  ARM: i.MX6 usb: Add missing include
  imx-bbu-nand: Make locally used functions static
  clk: imx: Avoid missing prototype warnings
  dma: apbh: make locally used function static
  pinctrl: at91: Add missing include
  video: vpl: make locally used function static
  fs: devfs: Make locally used function static
  nvmem: Add prototype for exported functions
  Make: Add -Wmissing-prototypes

 Makefile                                 |  2 +-
 arch/arm/cpu/interrupts.c                |  8 +++++
 arch/arm/cpu/psci.c                      |  7 ++++
 arch/arm/cpu/sm.c                        |  2 +-
 arch/arm/cpu/start.c                     |  4 +++
 arch/arm/cpu/uncompress.c                |  2 ++
 arch/arm/include/asm/barebox-arm.h       |  2 ++
 arch/arm/mach-imx/imx50.c                |  2 +-
 arch/arm/mach-imx/include/mach/generic.h |  1 +
 arch/arm/mach-imx/nand.c                 |  1 +
 arch/arm/mach-imx/usb-imx6.c             |  2 +-
 arch/mips/Makefile                       |  2 +-
 common/imx-bbu-nand-fcb.c                |  4 +--
 drivers/clk/imx/clk-gate2.c              |  9 +----
 drivers/dma/apbh_dma.c                   |  2 +-
 drivers/pinctrl/pinctrl-at91.c           |  9 +----
 drivers/video/vpl.c                      |  2 +-
 fs/devfs.c                               |  2 +-
 fs/ubifs/super.c                         | 10 +-----
 fs/ubifs/ubifs.c                         |  2 +-
 include/linux/nvmem-consumer.h           |  4 +++
 lib/gui/lodepng.c                        | 42 +-----------------------
 lib/gui/lodepng.h                        | 28 ++++++++++++++++
 23 files changed, 72 insertions(+), 77 deletions(-)

-- 
2.19.1


_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox

             reply	other threads:[~2018-11-09  9:53 UTC|newest]

Thread overview: 21+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-11-09  9:52 Sascha Hauer [this message]
2018-11-09  9:52 ` [PATCH 01/20] ARM: interrupts: Avoid missing prototypes warning Sascha Hauer
2018-11-09  9:52 ` [PATCH 02/20] ARM: psci: " Sascha Hauer
2018-11-09  9:52 ` [PATCH 03/20] gui: lodepng: " Sascha Hauer
2018-11-09  9:52 ` [PATCH 04/20] ARM: sm: Make locally used function static Sascha Hauer
2018-11-09  9:52 ` [PATCH 05/20] fs: ubifs: Avoid missing prototype warning Sascha Hauer
2018-11-09  9:52 ` [PATCH 06/20] ARM: start: Add missing include Sascha Hauer
2018-11-09  9:52 ` [PATCH 07/20] ARM: start: Add missing prototype Sascha Hauer
2018-11-09  9:52 ` [PATCH 08/20] ARM: Add missing prototype for arm_mem_ramoops_get() Sascha Hauer
2018-11-09  9:52 ` [PATCH 09/20] ARM: i.MX50: Make locally used function static Sascha Hauer
2018-11-09  9:52 ` [PATCH 10/20] ARM: i.MX27: Add missing prototype for imx27_get_boot_source() Sascha Hauer
2018-11-09  9:52 ` [PATCH 11/20] ARM: i.MX: add missing include Sascha Hauer
2018-11-09  9:52 ` [PATCH 12/20] ARM: i.MX6 usb: Add " Sascha Hauer
2018-11-09  9:52 ` [PATCH 13/20] imx-bbu-nand: Make locally used functions static Sascha Hauer
2018-11-09  9:52 ` [PATCH 14/20] clk: imx: Avoid missing prototype warnings Sascha Hauer
2018-11-09  9:52 ` [PATCH 15/20] dma: apbh: make locally used function static Sascha Hauer
2018-11-09  9:52 ` [PATCH 16/20] pinctrl: at91: Add missing include Sascha Hauer
2018-11-09  9:52 ` [PATCH 17/20] video: vpl: make locally used function static Sascha Hauer
2018-11-09  9:52 ` [PATCH 18/20] fs: devfs: Make " Sascha Hauer
2018-11-09  9:52 ` [PATCH 19/20] nvmem: Add prototype for exported functions Sascha Hauer
2018-11-09  9:52 ` [PATCH 20/20] Make: Add -Wmissing-prototypes Sascha Hauer

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20181109095246.15068-1-s.hauer@pengutronix.de \
    --to=s.hauer@pengutronix.de \
    --cc=barebox@lists.infradead.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox