[PATCH v4 05/19] kho: Add feature header for fine-grained ABI compatibility
Pratyush Yadav
pratyush at kernel.org
Thu Dec 3 03:15:32 PST 2026
On Wed, Dec 02 2026, tarunsahu at google.com wrote:
> Pratyush Yadav <pratyush at kernel.org> writes:
>
>> On Mon, Nov 30 2026, tarunsahu at google.com wrote:
>>
>>> Pratyush Yadav <pratyush at kernel.org> writes:
>> [...]
>>>>> +#define KHO_SER_NR_FLAGS(nr_required, nr_optional) \
>>>>> + DIV_ROUND_UP((__u32)(nr_required) + (__u32)(nr_optional), 64)
>>>>
>>>> That's not number of flags, that the number of bits in the bitmap.
>>>> Reading KHO_SER_NR_FLAGS() would make me think this is just nr_required
>>>> + nr_optional.
>>>
>>> I could think three name
>>>
>>> KHO_SER_FLAGS_SIZE
>>> KHO_SER_FLAGS_LEN
>>
>> This one sounds the best to me.
>
>
> Just to be sure, your choice is KHO_SER_FLAGS_LEN, right?
Yes.
>
> I will wait for others if there are no objections.
>
> ~Tarun
>>
>>> KHO_SER_FLAGS_WORDS
>>>
>>> which one is more clearer?
--
Regards,
Pratyush Yadav
More information about the linux-arm-kernel
mailing list