Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from lists.ozlabs.org (lists.ozlabs.org [112.213.38.117]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id DE14DC2BD09 for ; Tue, 9 Jul 2024 03:34:59 +0000 (UTC) Authentication-Results: lists.ozlabs.org; dkim=pass (1024-bit key; unprotected) header.d=linux.alibaba.com header.i=@linux.alibaba.com header.a=rsa-sha256 header.s=default header.b=NYRBLO6I; dkim-atps=neutral Received: from boromir.ozlabs.org (localhost [IPv6:::1]) by lists.ozlabs.org (Postfix) with ESMTP id 4WJ67Q3gGBz3cSy for ; Tue, 9 Jul 2024 13:34:58 +1000 (AEST) Authentication-Results: lists.ozlabs.org; dmarc=pass (p=none dis=none) header.from=linux.alibaba.com Authentication-Results: lists.ozlabs.org; dkim=pass (1024-bit key; unprotected) header.d=linux.alibaba.com header.i=@linux.alibaba.com header.a=rsa-sha256 header.s=default header.b=NYRBLO6I; dkim-atps=neutral Authentication-Results: lists.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=linux.alibaba.com (client-ip=115.124.30.100; helo=out30-100.freemail.mail.aliyun.com; envelope-from=hsiangkao@linux.alibaba.com; receiver=lists.ozlabs.org) Received: from out30-100.freemail.mail.aliyun.com (out30-100.freemail.mail.aliyun.com [115.124.30.100]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by lists.ozlabs.org (Postfix) with ESMTPS id 4WJ67H69y9z30N8 for ; Tue, 9 Jul 2024 13:34:49 +1000 (AEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linux.alibaba.com; s=default; t=1720496085; h=Message-ID:Date:MIME-Version:Subject:To:From:Content-Type; bh=+MYzLkTmZ+58Mwl57r/mua1WHZ6y6uTLnpKqtKOIxZk=; b=NYRBLO6IoX/rY/6QNU+Hl8LUufBAWqyEWOl+xTYcLf6v1GR0/ZdBSoy1ExqbbuSO0hGMg+llgk3tzUHoCqnsShjh/EiiVOTyXpXKOnCOFF6SBGMSGtOpg66YiiDwzAvkysASwH2BrwLzyk0R0NK3ITavbHTk07aeOVvtj7pLJNQ= X-Alimail-AntiSpam: AC=PASS;BC=-1|-1;BR=01201311R251e4;CH=green;DM=||false|;DS=||;FP=0|-1|-1|-1|0|-1|-1|-1;HT=maildocker-contentspam033037067109;MF=hsiangkao@linux.alibaba.com;NM=1;PH=DS;RN=2;SR=0;TI=SMTPD_---0WAA2B6R_1720496081; Received: from 30.97.49.57(mailfrom:hsiangkao@linux.alibaba.com fp:SMTPD_---0WAA2B6R_1720496081) by smtp.aliyun-inc.com; Tue, 09 Jul 2024 11:34:44 +0800 Message-ID: <404ef792-9a1b-4aa6-868f-d3dcda658027@linux.alibaba.com> Date: Tue, 9 Jul 2024 11:34:41 +0800 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH] erofs-utils: fix bitops fls_long To: Hongzhen Luo , linux-erofs@lists.ozlabs.org References: <20240709022031.2752872-1-hongzhen@linux.alibaba.com> From: Gao Xiang In-Reply-To: <20240709022031.2752872-1-hongzhen@linux.alibaba.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-BeenThere: linux-erofs@lists.ozlabs.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Development of Linux EROFS file system List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: linux-erofs-bounces+linux-erofs=archiver.kernel.org@lists.ozlabs.org Sender: "Linux-erofs" 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 Reviewed-by: Gao Xiang Thanks, Gao Xiang