[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <fe51512baa18e1480ce997fc535813ce6a0b0721.1708286962.git.jcalvinowens@gmail.com>
Date: Sun, 18 Feb 2024 20:09:06 -0800
From: Calvin Owens <jcalvinowens@...il.com>
To: Russell King <linux@...linux.org.uk>,
Arnd Bergmann <arnd@...db.de>
Cc: Dave Martin <Dave.Martin@....com>,
jcalvinowens@...il.com,
linux-arm-kernel@...ts.infradead.org,
linux-kernel@...r.kernel.org
Subject: [PATCH] arm: Silence gcc warnings about arch ABI drift
32-bit arm builds uniquely emit a lot of spam like this:
fs/bcachefs/backpointers.c: In function ‘extent_matches_bp’:
fs/bcachefs/backpointers.c:15:13: note: parameter passing for argument of type ‘struct bch_backpointer’ changed in GCC 9.1
Apply the arm64 change from commit ebcc5928c5d9 ("arm64: Silence gcc
warnings about arch ABI drift") to silence them. It seems like Dave's
original rationale applies here too.
Cc: Dave Martin <Dave.Martin@....com>
Signed-off-by: Calvin Owens <jcalvinowens@...il.com>
---
arch/arm/Makefile | 3 +++
1 file changed, 3 insertions(+)
diff --git a/arch/arm/Makefile b/arch/arm/Makefile
index 473280d5adce..184a5a2c7756 100644
--- a/arch/arm/Makefile
+++ b/arch/arm/Makefile
@@ -28,6 +28,9 @@ KBUILD_CFLAGS += $(call cc-option,-mno-fdpic)
# This should work on most of the modern platforms
KBUILD_DEFCONFIG := multi_v7_defconfig
+# Silence "note: xyz changed in GCC X.X" messages
+KBUILD_CFLAGS += $(call cc-disable-warning, psabi)
+
# defines filename extension depending memory management type.
ifeq ($(CONFIG_MMU),)
MMUEXT := -nommu
--
2.43.0
Powered by blists - more mailing lists