Re: [PATCH v4 4/8] bits: introduce fixed-type BIT

Jani Nikula
2025-03-06T08:12:58Z

On Wed, 05 Mar 2025, David Laight <david.laight.linux@gmail.com> wrote:
> So it is even questionable whether BIT8() and BIT16() should even
> exist at all.

If nothing else, they do provide compile time checks for the bit being
0..7 and 0..15, respectively.

BR,
Jani.

--
Jani Nikula, Intel