Received: by 2002:ac0:e350:0:0:0:0:0 with SMTP id g16csp241595imn; Wed, 3 Aug 2022 01:49:16 -0700 (PDT) X-Google-Smtp-Source: AA6agR7psfza1jWT6nNNel+Lw0DqZEwpEchtq4lJDbYVFfMdkBvjzkGspPY3fBS8JndtCn9aQ8XD X-Received: by 2002:a17:903:234d:b0:16f:3e9:491b with SMTP id c13-20020a170903234d00b0016f03e9491bmr7564328plh.89.1659516556368; Wed, 03 Aug 2022 01:49:16 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1659516556; cv=none; d=google.com; s=arc-20160816; b=1EQ4T4hGqGMKhxwjR5MjWUikoPiRDktJ6UC1vNj1NMbl8FHubWNIBdnDQB2Wu+2/yR w8Hcw6YwwSd2oc5WSCBkIEQoKokIVum+XUc8PFetEdBuAShRhfauLdhSGUNLe3DLbcIt 6NsEuu86w78M9A/RKcnvHlPZlSFHXWT5GgKnGvnUsakXdG9BqzRcnKlKR+eA7M48+ffp eZ5QJ0WRLKHYj8xXv8H/98xBhdy1G6TU8AD50siOX0FoBMbEiHb5tNoMFKYczknbctZM OgmRLP8GcQCybNyw1zMLqc+IBkqS+fIJfWRGmuMSpbWCT12YEwbEHxL1EMfiEWA1Yhsp AsOg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :references:cc:to:content-language:subject:user-agent:mime-version :date:message-id:dkim-signature; bh=z0DIZIORk6693BMGdr/T4kJLJ+iSDB+gKvl2wnFRtgc=; b=knWwfrrNpRFU0NmEqXkgMRCeYtEo9mE/g/WWHbo6i5MWxLsqofK704hBP9Q1WaElwj I43phwMsVbCArTRJWC9IH6PGrvfVdxCXhXGCY201JcPBA5RO4G16uUCcIZFLZvUXwWsa c5ytvlMo4oGvByC9RP5Dk7ncSM2MkxeGV8fekJshf8viVJANAGuJRcWUGi730xfya9x2 Gr7gPeI2odXvvAH/mIZ+KblRVMJcXnKMZdfv4Bovu6o5rrcgp6JmKtUYlulfyzW0EXrl 0pRuFt+hRCPgCsZFNpPf8qtEXu0VMr0yMvmzRQWrldOpOBJwct3RTbf55p5gLr3W7N9l IJiQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=eVXxiXVR; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id j4-20020a655584000000b0041b68824422si20719004pgs.749.2022.08.03.01.49.01; Wed, 03 Aug 2022 01:49:16 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=eVXxiXVR; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233362AbiHCIsI (ORCPT + 99 others); Wed, 3 Aug 2022 04:48:08 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:45758 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229656AbiHCIsG (ORCPT ); Wed, 3 Aug 2022 04:48:06 -0400 Received: from mga14.intel.com (mga14.intel.com [192.55.52.115]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D2C0A13F9C; Wed, 3 Aug 2022 01:48:05 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1659516485; x=1691052485; h=message-id:date:mime-version:subject:to:cc:references: from:in-reply-to:content-transfer-encoding; bh=+qvKUwqmQKAYYrLXg2GV2+q+xTQp35oEGWNYLkPBXjQ=; b=eVXxiXVRBlghl14uriO3/0A7OYAP5mP7CBJ2hFSj3E/+xdRcc3X1hXt8 RkZnMkIU5IXJGfJCyw4wcOkZJCsBqULshqJAz11KIO+o0ZPWwpqvhKr2D tBUC+8X6eUfmIftBqpR/Q2jDntBw4Kuh7Sx0cprtHm5WndMxdipVFNr3j MQv1JD9TuIG0pwTalFwwJ1gu75OAxVZZHaLrJFfChHdKRqbqarhL2prDC lvgQHuO4lng56KimDexgqzZPEGfrGZmkmByz7sRPEuZkzn+vh4iF9Oxv7 TNmjERU5Y+vjQxickkmhNGym6i9iHAmEmhvcoEpInInMABzBw4dtzKP3P g==; X-IronPort-AV: E=McAfee;i="6400,9594,10427"; a="289632904" X-IronPort-AV: E=Sophos;i="5.93,213,1654585200"; d="scan'208";a="289632904" Received: from fmsmga008.fm.intel.com ([10.253.24.58]) by fmsmga103.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 03 Aug 2022 01:48:05 -0700 X-IronPort-AV: E=Sophos;i="5.93,213,1654585200"; d="scan'208";a="661991747" Received: from aslawinx-mobl.ger.corp.intel.com (HELO [10.99.241.118]) ([10.99.241.118]) by fmsmga008-auth.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 03 Aug 2022 01:48:03 -0700 Message-ID: <2d4fac14-eaf8-c899-dba2-b2ffb484358d@linux.intel.com> Date: Wed, 3 Aug 2022 10:48:01 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:91.0) Gecko/20100101 Thunderbird/91.11.0 Subject: Re: [PATCH v2 3/3] sparc64: bitops: Change __fls to return unsigned long Content-Language: en-US To: Vineet Gupta , Geert Uytterhoeven , "David S . Miller" Cc: Guenter Roeck , linux-snps-arc@lists.infradead.org, linux-m68k@lists.linux-m68k.org, sparclinux@vger.kernel.org, linux-kernel@vger.kernel.org, Cezary Rojewski References: <20220527115345.2588775-1-amadeuszx.slawinski@linux.intel.com> <20220527115345.2588775-4-amadeuszx.slawinski@linux.intel.com> From: =?UTF-8?Q?Amadeusz_S=c5=82awi=c5=84ski?= In-Reply-To: <20220527115345.2588775-4-amadeuszx.slawinski@linux.intel.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-7.6 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_EF,NICE_REPLY_A,RCVD_IN_DNSWL_HI, SPF_HELO_NONE,SPF_NONE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 5/27/2022 1:53 PM, 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. > > Reviewed-by: Cezary Rojewski > Signed-off-by: Amadeusz Sławiński > --- > arch/sparc/include/asm/bitops_64.h | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/arch/sparc/include/asm/bitops_64.h b/arch/sparc/include/asm/bitops_64.h > index 005a8ae858f1..cdac39bd7b32 100644 > --- a/arch/sparc/include/asm/bitops_64.h > +++ b/arch/sparc/include/asm/bitops_64.h > @@ -24,7 +24,7 @@ void clear_bit(unsigned long nr, volatile unsigned long *addr); > void change_bit(unsigned long nr, volatile unsigned long *addr); > > int fls(unsigned int word); > -int __fls(unsigned long word); > +unsigned long __fls(unsigned long word); > > #include > Hi, any chance this one could also get merged? Other two patches are already in linux-next and I would like to remove it from list of things I have to remember ;) Amadeusz