mail archive of the barebox mailing list
 help / color / mirror / Atom feed
* [PATCH 00/15] Compiler warning fixes
@ 2021-05-17 18:54 Sascha Hauer
  2021-05-17 18:54 ` [PATCH 01/15] arm: friendlyarm-tiny210: Remove dead code Sascha Hauer
                   ` (14 more replies)
  0 siblings, 15 replies; 16+ messages in thread
From: Sascha Hauer @ 2021-05-17 18:54 UTC (permalink / raw)
  To: Barebox List

This series fixes a bunch of compiler warnings, mostly introduced with
the addition of the -Wtype-limits flag. Notably most if not all of the
warnings are real issues rather than false positives.

Sascha

Sascha Hauer (15):
  arm: friendlyarm-tiny210: Remove dead code
  ARM: socfpga: Fix timeout tests
  i.MX FCB: Fix error checking
  clk: tegra: Fix -Wtype-limits compiler warning
  ARM: i.MX: xload-gpmi: Fix compiler warning
  mtd: cfi-flash: Fix compiler warning
  pci: mvebu: Fix wrong error check
  ARM: i.MX bbu-external-nand: Do not modify image
  ARM: layerscape: Fix wrong error check
  ARM: phytec-phycard-omap3: Fix checking of unsigned variable being
    negative
  scripts: zynq_mkimage: Make locally used function static
  ARM: module: Remove always false check
  aiodev: lm75: Handle unknown lm75 types
  clk: zynqmp: Fix wrong error check
  powerpc: law: use signed type to allow error checking

 arch/arm/boards/friendlyarm-tiny210/tiny210.c   |  7 -------
 arch/arm/boards/phytec-phycard-omap3/lowlevel.c |  2 +-
 arch/arm/lib32/module.c                         |  2 +-
 arch/arm/mach-imx/imx-bbu-external-nand.c       |  9 ++++++++-
 arch/arm/mach-imx/xload-gpmi-nand.c             |  7 ++++---
 arch/arm/mach-layerscape/icid.c                 |  4 ++--
 arch/arm/mach-socfpga/arria10-xload.c           |  2 +-
 arch/powerpc/mach-mpc85xx/fsl_law.c             |  2 +-
 common/imx-bbu-nand-fcb.c                       | 17 +++++++++--------
 drivers/aiodev/lm75.c                           |  2 ++
 drivers/clk/tegra/clk-divider.c                 |  6 +++---
 drivers/clk/zynqmp/clkc.c                       |  2 +-
 drivers/mtd/nor/cfi_flash.c                     |  9 ++++++++-
 drivers/pci/pci-mvebu.c                         |  4 ++--
 scripts/zynq_mkimage.c                          |  2 +-
 15 files changed, 44 insertions(+), 33 deletions(-)

-- 
2.29.2


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


^ permalink raw reply	[flat|nested] 16+ messages in thread

end of thread, other threads:[~2021-05-17 18:56 UTC | newest]

Thread overview: 16+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-05-17 18:54 [PATCH 00/15] Compiler warning fixes Sascha Hauer
2021-05-17 18:54 ` [PATCH 01/15] arm: friendlyarm-tiny210: Remove dead code Sascha Hauer
2021-05-17 18:54 ` [PATCH 02/15] ARM: socfpga: Fix timeout tests Sascha Hauer
2021-05-17 18:54 ` [PATCH 03/15] i.MX FCB: Fix error checking Sascha Hauer
2021-05-17 18:54 ` [PATCH 04/15] clk: tegra: Fix -Wtype-limits compiler warning Sascha Hauer
2021-05-17 18:54 ` [PATCH 05/15] ARM: i.MX: xload-gpmi: Fix " Sascha Hauer
2021-05-17 18:54 ` [PATCH 06/15] mtd: cfi-flash: " Sascha Hauer
2021-05-17 18:54 ` [PATCH 07/15] pci: mvebu: Fix wrong error check Sascha Hauer
2021-05-17 18:54 ` [PATCH 08/15] ARM: i.MX bbu-external-nand: Do not modify image Sascha Hauer
2021-05-17 18:54 ` [PATCH 09/15] ARM: layerscape: Fix wrong error check Sascha Hauer
2021-05-17 18:54 ` [PATCH 10/15] ARM: phytec-phycard-omap3: Fix checking of unsigned variable being negative Sascha Hauer
2021-05-17 18:54 ` [PATCH 11/15] scripts: zynq_mkimage: Make locally used function static Sascha Hauer
2021-05-17 18:54 ` [PATCH 12/15] ARM: module: Remove always false check Sascha Hauer
2021-05-17 18:54 ` [PATCH 13/15] aiodev: lm75: Handle unknown lm75 types Sascha Hauer
2021-05-17 18:54 ` [PATCH 14/15] clk: zynqmp: Fix wrong error check Sascha Hauer
2021-05-17 18:54 ` [PATCH 15/15] powerpc: law: use signed type to allow error checking Sascha Hauer

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox