[PATCH] net: sparx5: fix bitmask check

Arnd Bergmann arnd at kernel.org
Mon Aug 2 08:21:52 PDT 2021


On Mon, Aug 2, 2021 at 5:02 PM Jakub Kicinski <kuba at kernel.org> wrote:
>
> I fixed this by moving the check out to a macro wrapper in net:
> 6387f65e2acb ("net: sparx5: fix compiletime_assert for GCC 4.9")

Ok, got it.

> > To make this also work on 32-bit architectures, change
> > the GENMASK() to GENMASK_ULL().
>
> Would you mind resending just that part against net/master?

Done.

        Arnd



More information about the linux-arm-kernel mailing list