Re: Build regressions/improvements in v5.15-rc1

From: Jason Gunthorpe
Date: Thu Sep 16 2021 - 11:02:04 EST


On Mon, Sep 13, 2021 at 09:20:44AM +0200, Geert Uytterhoeven wrote:
> On Mon, Sep 13, 2021 at 9:10 AM Geert Uytterhoeven <geert@xxxxxxxxxxxxxx> wrote:
> > Below is the list of build error/warning regressions/improvements in
> > v5.15-rc1[1] compared to v5.14[2].
> >
> > Summarized:
> > - build errors: +62/-12
>
> > + /kisskb/src/include/linux/compiler_types.h: error: call to '__compiletime_assert_1859' declared with attribute error: FIELD_PREP: value too large for the field: => 322:38
> > + /kisskb/src/include/linux/compiler_types.h: error: call to '__compiletime_assert_1866' declared with attribute error: FIELD_PREP: value too large for the field: => 322:38
>
> Actual error in drivers/infiniband/hw/hns/hns_roce_hw_v2.c
>
> arm64-gcc5.4/arm64-allmodconfig
> arm64-gcc8/arm64-allmodconfig

This happens with v5.14 too, so it isn't a new error..

I've got a patch

Jason