Received: by 2002:a05:6602:18e:0:0:0:0 with SMTP id m14csp2390443ioo; Sat, 28 May 2022 12:08:42 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxcbdk6e3RRVQzkC8tHQzFEt1jB/31hEgOXIvb+dFjyEx3m2/6EhyDcNQSIkjIiJw1RkpbY X-Received: by 2002:a17:90b:3b42:b0:1e0:34dc:47ef with SMTP id ot2-20020a17090b3b4200b001e034dc47efmr14679461pjb.224.1653764922613; Sat, 28 May 2022 12:08:42 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1653764922; cv=none; d=google.com; s=arc-20160816; b=IOKpujL2W053U2wyFJSbGPOAh7UFMlKwGLgp/iHniKnR27PqbjT9ykO92GfXrBYohZ NHujzCo39/RZSpOlcLpljTgI+CcMknZpO7zZxdXwndi7ubjT8nAMU8N1i4SopSocJwxR juz6PSwnrkmx7QFmVu/B4yyQTB/9bxJYKMWI2X1uXgHW6B+pI7EnOFTYgQMrmN2vUgmT IqkSFLvcqvQCBHOMjPsNjZe8S4x9haNtQmLgAUnWQxAg3BQldRJqhqHeCXDWApMbtBdE rrfqWAdGa4aY29HBOVpTLQiU0MuEl5HmD9O2fz+YlDXcQ3X+54HnmpzkcPomVAiKFM/Q O3EA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=9R+dlwaPk7g6+q7229sMQCsFqzyY2f/QhOedvj2tJ4g=; b=iOWKe520KVu2hd1RYbVu4fAD9FbbokVvN9/ydeVD/zWV2BOTqra5InpFtrO30jta79 6xgCQ0qdZnQlvEnDF8bJJRAf0fHpmtIzj8oqngBLK9AMA29igIYlwmZTkewEWqSD4gL/ Oi8xfAYY1bnj7Hc+QvirHdaiZx/wqXJkD9jhnmnwxhqNWv8fENsJrESVWATED2zhiMS2 EoRk7Arf36Jd6drGM1ywxkzRG+YhyBAEGQVoiZvQ0+jtpMHgndF29wT9FEv0Ahqom0uE Yzb6iY5rcbge14gOEPoEcsTNUiq4+fneqX+ezaTWu82mspY5HJ35pYizITluy+We1vQT rPoA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=bkPxNI9R; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 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 lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [2620:137:e000::1:18]) by mx.google.com with ESMTPS id h9-20020a170902f70900b00163a0f48480si5439779plo.36.2022.05.28.12.08.41 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 28 May 2022 12:08:42 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) client-ip=2620:137:e000::1:18; Authentication-Results: mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=bkPxNI9R; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 7BC041A395; Sat, 28 May 2022 11:46:54 -0700 (PDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1354148AbiE0MRL (ORCPT + 99 others); Fri, 27 May 2022 08:17:11 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:40632 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1352379AbiE0MEP (ORCPT ); Fri, 27 May 2022 08:04:15 -0400 Received: from mga03.intel.com (mga03.intel.com [134.134.136.65]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 8235914A268; Fri, 27 May 2022 04:53:40 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1653652420; x=1685188420; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=vuMs6VJt08rsTnYrQbFKCLWhZ1eIAOf5fKrz74zRkw0=; b=bkPxNI9RMPjF243yqx64n7hGe3o1zbhmam6Q7T1qyyzxjBNOFX8lWNfg dot/BQ94Zqm81fAZDBaH4pOwZIE8u8tvmhZ3qndsphXo9MBgxQ0TU7W0k 7nzUAp0XhYocvZorU11YbtVxxMzxYEk6GjHJleObRv6In4hbjBnlgVVLj uRX+iDKGOZiA24toUMy98APepXn4YU/euI2g6NQNKwKdPyYlrww+iQPkt PifgNhOYiNCG/GbvY6g1rRTqszHzRSiCD0Neiht24KAavtr+XFBtMlQ9E RbwEzEWPCdj8VpodQTiREcAiG2Ma2S1aOvD5dv4iKIEtZFiTEZ9Njrd58 g==; X-IronPort-AV: E=McAfee;i="6400,9594,10359"; a="274464822" X-IronPort-AV: E=Sophos;i="5.91,255,1647327600"; d="scan'208";a="274464822" Received: from orsmga005.jf.intel.com ([10.7.209.41]) by orsmga103.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 27 May 2022 04:53:40 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.91,255,1647327600"; d="scan'208";a="746889640" Received: from dev2 (HELO DEV2.igk.intel.com) ([10.237.148.94]) by orsmga005.jf.intel.com with ESMTP; 27 May 2022 04:53:37 -0700 From: =?UTF-8?q?Amadeusz=20S=C5=82awi=C5=84ski?= 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, =?UTF-8?q?Amadeusz=20S=C5=82awi=C5=84ski?= , Cezary Rojewski Subject: [PATCH v2 3/3] sparc64: bitops: Change __fls to return unsigned long Date: Fri, 27 May 2022 13:53:45 +0200 Message-Id: <20220527115345.2588775-4-amadeuszx.slawinski@linux.intel.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20220527115345.2588775-1-amadeuszx.slawinski@linux.intel.com> References: <20220527115345.2588775-1-amadeuszx.slawinski@linux.intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-2.7 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,RDNS_NONE,SPF_HELO_NONE,T_SCC_BODY_TEXT_LINE autolearn=unavailable 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 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 -- 2.25.1