2022-05-26 05:57:54

by Vineet Gupta

[permalink] [raw]
Subject: Re: [PATCH 1/2] ARC: bitops: Change __fls to return unsigned long

Hi,

On 5/25/22 07:48, Amadeusz Sławiński wrote:
> As per asm-generic definition and other architectures __fls should
> return unsigned long.
>
> No functional change is expected as return value should fit in unsigned
> long.
>
> Signed-off-by: Amadeusz Sławiński<[email protected]>

Applied to for-curr.

Thx,
-Vineet


2022-05-27 17:40:43

by Amadeusz Sławiński

[permalink] [raw]
Subject: Re: [PATCH 1/2] ARC: bitops: Change __fls to return unsigned long

On 5/26/2022 5:42 AM, Vineet Gupta wrote:
> Hi,
>
> On 5/25/22 07:48, Amadeusz Sławiński wrote:
>> As per asm-generic definition and other architectures __fls should
>> return unsigned long.
>>
>> No functional change is expected as return value should fit in unsigned
>> long.
>>
>> Signed-off-by: Amadeusz Sławiński<[email protected]>
>
> Applied to for-curr.
>
> Thx,
> -Vineet

And apparently __fls is defined in two places in ARC header and I only
changed one, should I send incremental patch on top of already merged
one or v2?