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

From: Michal Wajdeczko
Date: Wed Feb 14 2024 - 12:56:13 EST




On 14.02.2024 18:39, Alexey Dobriyan wrote:
> On Wed, Feb 14, 2024 at 07:32:10PM +0200, Andy Shevchenko wrote:
>> On Wed, Feb 14, 2024 at 08:20:55PM +0300, Alexey Dobriyan wrote:

..

>
> Thirdly, there were no users posted.

for make_u64() there is already one at [1]
and Jani pointed other potential candidates [2]


[1]
https://elixir.bootlin.com/linux/v6.8-rc4/source/drivers/gpu/drm/xe/xe_gt_pagefault.c#L555

[2]
https://lore.kernel.org/intel-xe/87cysz6ud7.fsf@xxxxxxxxx/T/#md6577722f9226258c8eb99119707e12db4dd3b79