Re: [PATCH v4 1/6] nova-core: bitfield: Move bitfield-specific code from register! into new macro

Greg KH
2025-09-21T11:23:06Z

On Sun, Sep 21, 2025 at 11:59:05AM +0200, Miguel Ojeda wrote:
> On Sun, Sep 21, 2025 at 11:36 AM Greg KH <gregkh@linuxfoundation.org> wrote:
> >
> > And where does this allow us to define things like BIT(2) for values?
> > (ok, that's kind of not the point of this patch series, but it will come
> > up over time...)
>
> We have the `bits` module since 6.17:
>
> https://rust.docs.kernel.org/kernel/bits/index.html
>
> (Or do you mean something else?)

No, that's exactly what I was thinking of, sorry, I missed that :)

greg k-h