Re: [PATCH] arm: Silence gcc warnings about arch ABI drift
From: Kent Overstreet
Date: Mon Feb 19 2024 - 02:03:32 EST
On Sun, Feb 18, 2024 at 10:58:07PM -0800, Calvin Owens wrote:
> On Monday 02/19 at 07:21 +0100, Arnd Bergmann wrote:
> > On Mon, Feb 19, 2024, at 05:09, Calvin Owens wrote:
> > > 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@xxxxxxx>
> > > Signed-off-by: Calvin Owens <jcalvinowens@xxxxxxxxx>
> > > ---
> >
> > I think these should be addressed in bcachefs instead.
>
> That seems reasonable to me. For clarity, I just happened to notice this
> while doing allyesconfig cross builds for something entirely unrelated.
>
> I'll take it up with them. It's not a big problem from my POV, the notes
> don't cause -Werror builds to fail or anything like that.
Considering we're not dynamic linking it's a non issue for us.