Re: [PATCH v4 1/6] nova-core: bitfield: Move bitfield-specific code from register! into new macro
From: Miguel Ojeda
Date: Sun Sep 21 2025 - 05:59:18 EST
On Sun, Sep 21, 2025 at 11:36 AM Greg KH <gregkh@xxxxxxxxxxxxxxxxxxx> 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?)
Cheers,
Miguel