aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorCalvin Owens <jcalvinowens@gmail.com>2024-02-18 23:36:08 -0800
committerKent Overstreet <kent.overstreet@linux.dev>2024-03-13 21:22:25 -0400
commitc7cad231e83606a3ad627d5c4503272435c962a4 (patch)
treebd308d2e492b5d79cf3831aced30e2184800a68e
parent90aa35c4c908c04901a8dc5f8db9b93b919a4084 (diff)
downloadvfs-c7cad231e83606a3ad627d5c4503272435c962a4.tar.gz
bcachefs: Silence gcc warnings about arm arch ABI drift
32-bit arm builds 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 change from commit ebcc5928c5d9 ("arm64: Silence gcc warnings about arch ABI drift") to fs/bcachefs/ to silence them. Signed-off-by: Calvin Owens <jcalvinowens@gmail.com> Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
-rw-r--r--fs/bcachefs/Makefile3
1 files changed, 3 insertions, 0 deletions
diff --git a/fs/bcachefs/Makefile b/fs/bcachefs/Makefile
index 1a05cecda7cc5..3433959d4f359 100644
--- a/fs/bcachefs/Makefile
+++ b/fs/bcachefs/Makefile
@@ -90,3 +90,6 @@ bcachefs-y := \
xattr.o
obj-$(CONFIG_MEAN_AND_VARIANCE_UNIT_TEST) += mean_and_variance_test.o
+
+# Silence "note: xyz changed in GCC X.X" messages
+subdir-ccflags-y += $(call cc-disable-warning, psabi)