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

Jani Nikula jani.nikula at linux.intel.com
Thu Mar 6 08:12:49 UTC 2025


On Wed, 05 Mar 2025, David Laight <david.laight.linux at 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


More information about the dri-devel mailing list