Re: [PATCH v3] bitfield.h: add FIELD_MAX() and field_max()

From: Nick Desaulniers
Date: Wed Apr 01 2020 - 13:35:21 EST


> Define FIELD_MAX(), which supplies the maximum value that can be
> represented by a field value. Define field_max() as well, to go
> along with the lower-case forms of the field mask functions.
>
> Signed-off-by: Alex Elder <elder@xxxxxxxxxx>
> Acked-by: Jakub Kicinski <kuba@xxxxxxxxxx>
> ---
> v3: Rebased on latest netdev-next/master.
>
> David, please take this into net-next as soon as possible. When the
> IPA code was merged the other day this prerequisite patch was not
> included, and as a result the IPA driver fails to build. Thank you.
>
> See: https://lkml.org/lkml/2020/3/10/1839
>
> -Alex

In particular, this seems to now have regressed into mainline for the 5.7
merge window as reported by Linaro's ToolChain Working Group's CI.
Link: https://github.com/ClangBuiltLinux/linux/issues/963