Received: by 2002:ac0:a5a7:0:0:0:0:0 with SMTP id m36-v6csp6346922imm; Mon, 23 Jul 2018 16:29:34 -0700 (PDT) X-Google-Smtp-Source: AAOMgpdamBlPJDYNaaWvCampnXsVP1qZpdtKSO6AQjeR/xMPG1kwo+jEuqM9Cz3YBULNhurRuTjT X-Received: by 2002:a63:b213:: with SMTP id x19-v6mr13877163pge.393.1532388573972; Mon, 23 Jul 2018 16:29:33 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1532388573; cv=none; d=google.com; s=arc-20160816; b=FkWbTfejb6BL04FCjWqdGzoav3Lc9mLpqzMTLbZ3hKhgPFCy4AJPCe/Bx8jKlQOpgu Stfq0HEcXk/Kq60XSV38xecXY0QpVLsJ/lWifiQ46yAoO2ISpq0vrpTLoxgBI1x2+0mh E+gPxHEfgA6XLQlWQPJXF/4BTyFpXqmK++zMKbKK/jGlSmZDk3IF1G5EUzOv3txDH+D2 XWOKsbktInY50zRpCj+wcy2uk6VNfKN5tRRs4INvY7n4qLEeyvneXaZmoTe7LkgqZ0d+ e33bwuwgBuiV0kPowlVUf50d644wHIljDW+Tku9/9dnExrHEnNMKpnAS7EnjkJKVZvpJ zjnA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding :content-language:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject:dkim-signature :arc-authentication-results; bh=o11kUjuzMQNvGr3/6w+Q3pgFOCw7hRVK57TxVUWCmx4=; b=1CQgIJaEJ5DCHWH0Cyi5gDWhJfPwi5YF3Zpa6DZpQCD0sHSSayucHtkAmvhxYCd6mh BLoOH508S25t9aSyddcMyKBbCMCFGc4xFUaNbAs5rSxxqwtjeKLWcwBw5bt9N7CA6n7U 9pJkh6gMi3QoPnZA0IHLYkBqMqen8UGv1Zvt23iqu4jAsz5GyeEjBOJabMeI2A1W3MZO 05a3gSnkz7fvrRp4vgqkEMjY4gsP5MfqNmvZ3rMwrFk3WXn6vicOZ6ERf6B4IvwuJt8F eGkCy3wFSvIHakI+iNCxtifj0g9Qusv1SCw3UpEPCgVP30W/5ia9bIRjDV7qxepG5Pbu Gikg== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@infradead.org header.s=merlin.20170209 header.b=X0tYw9h5; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id 33-v6si9146425plc.205.2018.07.23.16.29.18; Mon, 23 Jul 2018 16:29:33 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=fail header.i=@infradead.org header.s=merlin.20170209 header.b=X0tYw9h5; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2388161AbeGXAbX (ORCPT + 99 others); Mon, 23 Jul 2018 20:31:23 -0400 Received: from merlin.infradead.org ([205.233.59.134]:49242 "EHLO merlin.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2388098AbeGXAbX (ORCPT ); Mon, 23 Jul 2018 20:31:23 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=merlin.20170209; h=Content-Transfer-Encoding:Content-Type: In-Reply-To:MIME-Version:Date:Message-ID:From:References:Cc:To:Subject:Sender :Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help: List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=o11kUjuzMQNvGr3/6w+Q3pgFOCw7hRVK57TxVUWCmx4=; b=X0tYw9h5miidYDju2YrkIKYVtJ 6p9sCf7is5oTZqdo2nBblVpVpbaGz9IFF09SvwQJt+A8ZgtmEwA4vP17HeK/W06eqMm5AJm78hzYH faAwLMI+T8653YlCi+oaFDsfkhv0CT2RDEuiUKInE6UUCEKuTVaxaCmZwYvsHnWA/nzHTjmU5uUjJ Rr0EO8oCPeiRMoIp8KcK2w4P3pD28Q6Uc6SZ1c8M/Kj7k9r47iLAKvAExPJCQCNRXyQJ4350vAOZt W4XXRDfcTAbu1Ct2rqh+jljAjX+46YO0I4wmMZLNny3ANxr+s3eXTYlBgIPq+ssUz2dghD/OgtoMx FyYG+Nbg==; Received: from static-50-53-52-16.bvtn.or.frontiernet.net ([50.53.52.16] helo=midway.dunlab) by merlin.infradead.org with esmtpsa (Exim 4.90_1 #2 (Red Hat Linux)) id 1fhkF2-000336-Iw; Mon, 23 Jul 2018 23:27:49 +0000 Subject: Re: [PATCH v2] hexagon: modify ffs() and fls() to return int To: Richard Kuo Cc: LKML , linux-hexagon@vger.kernel.org, Geert Uytterhoeven References: <20180723225025.GC12771@codeaurora.org> From: Randy Dunlap Message-ID: <39ac5a3f-b5fa-a928-6caf-a7a01251f5ea@infradead.org> Date: Mon, 23 Jul 2018 16:27:47 -0700 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.9.1 MIME-Version: 1.0 In-Reply-To: <20180723225025.GC12771@codeaurora.org> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 07/23/2018 03:50 PM, Richard Kuo wrote: > On Sun, Jul 22, 2018 at 04:03:58PM -0700, Randy Dunlap wrote: >> From: Randy Dunlap >> >> Building drivers/mtd/nand/raw/nandsim.c on arch/hexagon/ produces a >> printk format build warning. This is due to hexagon's ffs() being >> coded as returning long instead of int. >> >> Fix the printk format warning by changing all of hexagon's ffs() and >> fls() functions to return int instead of long. The variables that >> they return are already int instead of long. This return type >> matches the return type in . >> >> ../drivers/mtd/nand/raw/nandsim.c: In function 'init_nandsim': >> ../drivers/mtd/nand/raw/nandsim.c:760:2: warning: format '%u' expects argument of type 'unsigned int', but argument 2 has type 'long int' [-Wformat] >> >> There are no ffs() or fls() allmodconfig build errors after making this >> change. >> >> Signed-off-by: Randy Dunlap >> Cc: Richard Kuo >> Cc: linux-hexagon@vger.kernel.org >> Cc: Geert Uytterhoeven >> --- >> v2: >> add hexagon contacts, drop erroneous sh contacts; [thanks, Geert] >> only change return type for ffs() and fls() [thanks, Geert] >> [drop the changes for ffz(), __ffs(), and __fls()] >> >> arch/hexagon/include/asm/bitops.h | 4 ++-- >> 1 file changed, 2 insertions(+), 2 deletions(-) >> > > > Acked-by: Richard Kuo > Hi Richard, You are listed as the arch/hexagon/ maintainer. Can you please merge these patches? thanks, -- ~Randy