Re: Build regressions/improvements in v5.18-rc2

From: Geert Uytterhoeven
Date: Tue Apr 12 2022 - 04:41:02 EST


Hi Kalle,

On Mon, Apr 11, 2022 at 8:15 PM Kalle Valo <kvalo@xxxxxxxxxx> wrote:
> Geert Uytterhoeven <geert@xxxxxxxxxxxxxx> writes:
> > On Mon, 11 Apr 2022, Geert Uytterhoeven wrote:
> >> JFYI, when comparing v5.18-rc2[1] to v5.18-rc1[3], the summaries are:

> > + /kisskb/src/include/linux/compiler_types.h: error: call to '__compiletime_assert_491' declared with attribute error: FIELD_PREP: mask is not constant: => 352:38
> > + /kisskb/src/include/linux/compiler_types.h: error: call to '__compiletime_assert_520' declared with attribute error: FIELD_PREP: mask is not constant: => 352:38
> >
> > mipsel/mips-allmodconfig
> > arm64-gcc5.4/arm64-allmodconfig
> >
> > Actual error is:
> >
> > /kisskb/src/drivers/net/wireless/mediatek/mt76/mt76x2/pci.c: In function 'mt76x2e_probe':
> > /kisskb/src/include/linux/compiler_types.h:352:38: error: call to '__compiletime_assert_520' declared with attribute error: FIELD_PREP: mask is not constant
>
> Does this commit fix it:
>
> https://git.kernel.org/pub/scm/linux/kernel/git/wireless/wireless.git/commit/?id=dbc2b1764734857d68425468ffa8486e97ab89df
>
> Or is this another issue?

I'm not in a position to verify this, but given both configs used gcc-5,
I assume this will fix the issue.

Thanks!

Gr{oetje,eeting}s,

Geert

--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@xxxxxxxxxxxxxx

In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
-- Linus Torvalds