Re: [PATCH 01/18] bitfield.h: add FIELD_MAX() and field_max()

From: Johannes Berg
Date: Sun May 12 2019 - 15:41:28 EST


On Sun, 2019-05-12 at 07:18 -0500, Alex Elder wrote:
> On 5/12/19 1:33 AM, Kalle Valo wrote:
> > Alex Elder <elder@xxxxxxxxxx> writes:
> >
> > > 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>
> >
> > Via which tree is this going? I assume I do not have take it unless
> > someone says otherwise.
>
> Sorry about that, perhaps I should have posted it separately.
>
> I don't have an answer, but we could avoid having to coordinate
> if it went together with the rest.

It's unlikely to conflict, and I don't think anyone really thinks that
the file is "theirs" (being basically standalone), so I think you should
just take it with whatever code that needs it.

johannes