Re: [PATCH net-next 1/6] tools: ynl-gen: bitshift the flag values in the generated code

From: Jacob Keller

Date: Mon Oct 13 2025 - 19:07:29 EST




On 10/13/2025 9:49 AM, Asbjørn Sloth Tønnesen wrote:
> Instead of pre-computing the flag values within the code generator,
> then move the bitshift operation into the generated code.
>
> This IMHO makes the generated code read more like handwritten code.
>
> No functional changes.
>

Could we use BIT() here? or is that not available within uAPI headers?

Thanks,
Jake

Attachment: OpenPGP_signature.asc
Description: OpenPGP digital signature