[PATCH] erofs-utils: fix bitops fls_long
Gao Xiang
hsiangkao at linux.alibaba.com
Tue Jul 9 13:34:41 AEST 2024
On 2024/7/9 10:20, Hongzhen Luo wrote:
> The __builtin_clz is for unsigned int, while it is applied
> to unsigned long. This fixes it by using __builtin_clzl.
>
Does it impact any exist use cases? If yes, we might need to
add some words in the commit message.
> Signed-off-by: Hongzhen Luo <hongzhen at linux.alibaba.com>
Reviewed-by: Gao Xiang <hsiangkao at linux.alibaba.com>
Thanks,
Gao Xiang
More information about the Linux-erofs
mailing list