mail archive of the barebox mailing list
 help / color / mirror / Atom feed
* [PATCH 00/11] treewide: fix some ARCH=arm clang warnings
@ 2019-08-22  5:51 Ahmad Fatoum
  2019-08-22  5:51 ` [PATCH 01/11] linux/kbuild.h: sync with upstream Ahmad Fatoum
                   ` (12 more replies)
  0 siblings, 13 replies; 20+ messages in thread
From: Ahmad Fatoum @ 2019-08-22  5:51 UTC (permalink / raw)
  To: barebox; +Cc: afa

I had tried to build imx_v7_defconfig with clang and ran into some
warnings. This series fixes them. Building for arm32 is still not
possible though, because clang explicitly doesn't support mixing C and
inline assembly in naked functions. (In GCC it is undefined behavior,
but happens to usually work for us).

Ahmad Fatoum (11):
  linux/kbuild.h: sync with upstream
  ratp: fix use of %hu for printing int
  complete: remove unused variable
  i2c-mux-pca954x: remove use of uninitialized variable
  net: phy: mv88e6xxx: remove duplicate member in struct initializer
  smc911x: fix inverted poll-for-ready
  nvme: use 64 bit types for timeouts even on 32 bit systems
  usb: gadget: fsl_udc: remove always-true null pointer checks
  commands: mmc_extcsd: describe missing bit
  gui: png_lode: fix freeing of uninitialized pointer
  fs: fat: fix use of wrong enumeration type

 commands/mmc_extcsd.c               | 11 +++++++++--
 common/complete.c                   |  2 --
 common/ratp/mw.c                    |  2 +-
 drivers/i2c/muxes/i2c-mux-pca954x.c |  6 +++---
 drivers/net/phy/mv88e6xxx/chip.c    |  1 -
 drivers/net/smc911x.c               |  2 +-
 drivers/nvme/host/core.c            |  4 ++--
 drivers/usb/gadget/fsl_udc.c        |  9 +--------
 fs/fat/ff.c                         |  2 +-
 include/ata_drive.h                 |  4 ++--
 include/linux/kbuild.h              |  7 ++++---
 include/mci.h                       |  1 +
 lib/gui/png_lode.c                  | 13 +++++++------
 13 files changed, 32 insertions(+), 32 deletions(-)

-- 
2.20.1


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

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

end of thread, other threads:[~2019-09-09  9:57 UTC | newest]

Thread overview: 20+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-08-22  5:51 [PATCH 00/11] treewide: fix some ARCH=arm clang warnings Ahmad Fatoum
2019-08-22  5:51 ` [PATCH 01/11] linux/kbuild.h: sync with upstream Ahmad Fatoum
2019-08-26 10:35   ` Sascha Hauer
2019-09-09  9:57     ` Ahmad Fatoum
2019-08-22  5:51 ` [PATCH 02/11] ratp: fix use of %hu for printing int Ahmad Fatoum
2019-08-22  5:51 ` [PATCH 03/11] complete: remove unused variable Ahmad Fatoum
2019-08-22  6:08   ` Michael Olbrich
2019-08-22  6:22     ` Ahmad Fatoum
2019-08-22  6:32   ` [PATCH 1/2] fixup! " Ahmad Fatoum
2019-08-22  6:32     ` [PATCH 2/2] ata: fix mismatched header guards Ahmad Fatoum
2019-08-22  5:51 ` [PATCH 04/11] i2c-mux-pca954x: remove use of uninitialized variable Ahmad Fatoum
2019-08-22  5:51 ` [PATCH 05/11] net: phy: mv88e6xxx: remove duplicate member in struct initializer Ahmad Fatoum
2019-08-22  5:51 ` [PATCH 06/11] smc911x: fix inverted poll-for-ready Ahmad Fatoum
2019-08-22  5:51 ` [PATCH 07/11] nvme: use 64 bit types for timeouts even on 32 bit systems Ahmad Fatoum
2019-08-22  5:51 ` [PATCH 08/11] usb: gadget: fsl_udc: remove always-true null pointer checks Ahmad Fatoum
2019-08-22  5:51 ` [PATCH 09/11] commands: mmc_extcsd: describe missing bit Ahmad Fatoum
2019-08-22  5:51 ` [PATCH 10/11] gui: png_lode: fix freeing of uninitialized pointer Ahmad Fatoum
2019-08-22  5:51 ` [PATCH 11/11] fs: fat: fix use of wrong enumeration type Ahmad Fatoum
2019-08-22  6:38 ` [PATCH] ARM: don't use -no-thumb-interwork if unavailable Ahmad Fatoum
2019-08-23  7:20 ` [PATCH 00/11] treewide: fix some ARCH=arm clang warnings Sascha Hauer

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