Re: [RFC] include/linux/make_type.h: Helpers for making u16/u32/u64 values

From: Andy Shevchenko
Date: Wed Feb 14 2024 - 12:16:20 EST


On Wed, Feb 14, 2024 at 06:02:01PM +0100, Michal Wajdeczko wrote:
> On 14.02.2024 17:04, Andy Shevchenko wrote:
> > On Wed, Feb 14, 2024 at 04:54:08PM +0100, Michal Wajdeczko wrote:

..

> >> +++ b/include/linux/make_type.h
> >
> > If we go with this, please make better name so we can combine this with
> > upper/lower_*_bits() helpers which seems related semantically to this.
>
> what about "include/linux/uintops.h" like we have bitops.h ?

We have wordpart.h, would it work?

--
With Best Regards,
Andy Shevchenko