Re: [PATCH v2] scsi: ufs: Fix the build for gcc 9 and before

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, 2 Aug 2023 at 12:18, Arnd Bergmann <arnd@xxxxxxxx> wrote:
>
> On Wed, Aug 2, 2023, at 01:21, Bart Van Assche wrote:
> > gcc compilers before version 10 cannot do constant-folding for sub-byte
> > bitfields. This makes the compiler layout tests fail. Hence skip the
> > layout checks for gcc 9 and before.
> >
> > Cc: Arnd Bergmann <arnd@xxxxxxxx>
> > Cc: Naresh Kamboju <naresh.kamboju@xxxxxxxxxx>
> > Cc: Nathan Chancellor <nathan@xxxxxxxxxx>
> > Reported-by: Naresh Kamboju <naresh.kamboju@xxxxxxxxxx>
> > Suggested-by: Arnd Bergmann <arnd@xxxxxxxx>
> > Signed-off-by: Bart Van Assche <bvanassche@xxxxxxx>

Would it be a good idea to provide a link to the original report ?
Link: https://lore.kernel.org/linux-scsi/CA+G9fYur8UJoUyTLJFVEJPh-15TJ7kbdD2q8xVz8a3fLjkxxVw@xxxxxxxxxxxxxx/

>
> Looks good to me, I gave it a quick spin with
> all versions from gcc-6 through gcc-10 to make sure this
> works for all of them.
>
> Tested-by: Arnd Bergmann <arnd@xxxxxxxx>

--
Linaro LKFT
https://lkft.linaro.org



[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [SCSI Target Devel]     [Linux SCSI Target Infrastructure]     [Kernel Newbies]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Linux IIO]     [Samba]     [Device Mapper]

  Powered by Linux