[PATCH 0/5] clang: more warning and error fixes

Ahmad Fatoum a.fatoum at pengutronix.de
Fri Sep 4 00:59:12 PDT 2026


In preparation for making bare metal targets also compile with clang,
here are some more warning and error fixes for both assembler and compiler.

Ahmad Fatoum (5):
  kbuild: emit asm-offsets markers as .ascii strings
  scripts: imx9image: fix warnings reported by clang
  kbuild: disable -Wunused-but-set-variable after -Wall
  kbuild: disable -Winitializer-overrides for clang
  ARM64: cache: use WEAK() for v8_flush_l3_cache stub

 Makefile                   | 4 ----
 arch/arm/cpu/cache-armv8.S | 3 +--
 include/linux/kbuild.h     | 6 +++---
 scripts/Makefile.warn      | 8 ++++++++
 scripts/imx9image.c        | 9 ++-------
 5 files changed, 14 insertions(+), 16 deletions(-)

-- 
2.47.3




More information about the barebox mailing list