Re: [PATCH v4 4/8] bits: introduce fixed-type BIT
From: Jani Nikula
Date: Thu Mar 06 2025 - 03:13:31 EST
On Wed, 05 Mar 2025, David Laight <david.laight.linux@xxxxxxxxx> 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