From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-8.7 required=3.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,INCLUDES_PATCH,MAILING_LIST_MULTI,SIGNED_OFF_BY,SPF_HELO_NONE, SPF_PASS,URIBL_BLOCKED,USER_AGENT_SANE_1 autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 1E60AC2D0F9 for ; Wed, 13 May 2020 09:02:23 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id E81DB20769 for ; Wed, 13 May 2020 09:02:22 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="kvGUV2HO"; dkim=fail reason="signature verification failed" (1024-bit key) header.d=kernel.org header.i=@kernel.org header.b="TRpAkENq" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org E81DB20769 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=kernel.org Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+infradead-linux-arm-kernel=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:Cc:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:In-Reply-To:MIME-Version:References: Message-ID:Subject:To:From:Date:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=bH/TJvp9WK5GO6JkL/ekTsivuhP0ZjrMcnugmhX+JxQ=; b=kvGUV2HOq37mRi NJuWuJQelbP8l3PpuflhMUkvGkG2fKx1Oc9Z77e/ESoz+G3wD5JRjLYs6cVmvvk+ysbiW570OCM+4 jjXrVdwSfemWcRPhUAr67QTTe3yu+LNnQhPnQOaBJiMEgNZJzdFUScdDX/843Qc7otA/+1zLo2HkI V09Wpqhqq4FZwEF1pt7YgupGBbg7HaqA2J+B6G+v7PvV9dYxecipN3KyKbkY8lNVzfZUCRln1WVIY xq350FPqNVJ4YNyLN6CU1MfP6DZPsNvHBGyxNGwj+ETsYqG2S0G57N/jsOE+LJ4LKvzmVYAYKIkwH 4O8ovvrqlF7HfhlNW/ZQ==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1jYnHS-0004H9-DW; Wed, 13 May 2020 09:02:22 +0000 Received: from mail.kernel.org ([198.145.29.99]) by bombadil.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1jYnHP-0004Gn-OR for linux-arm-kernel@lists.infradead.org; Wed, 13 May 2020 09:02:20 +0000 Received: from dragon (80.251.214.228.16clouds.com [80.251.214.228]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 24654206CC; Wed, 13 May 2020 09:02:17 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1589360539; bh=CqsZkNMhhFEmwvrrSyan044GTPZoDUPfKqcy2R8Ls0o=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=TRpAkENqc7CgUSrD1XHKcTgorVVSfpgABaWNQcjdHXZGtlULr1kxklX4v6396FkDp A15vbUz9LMe1qwuzG9N4aIg+VsyNXg/ouBOwoaogYUFx4AF7vWFUZvSp8zqgUompwE lRE5WW43G125cIf90oyBcY7q0z52qX9nXh9bAzDg= Date: Wed, 13 May 2020 17:02:14 +0800 From: Shawn Guo To: Samuel Zou , Arnd Bergmann Subject: Re: [PATCH -next] ARM: zx: Make zx_smp_prepare_cpus static Message-ID: <20200513090213.GH26997@dragon> References: <1589250561-106088-1-git-send-email-zou_wei@huawei.com> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <1589250561-106088-1-git-send-email-zou_wei@huawei.com> User-Agent: Mutt/1.9.4 (2018-02-28) X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20200513_020219_812722_A2DA977C X-CRM114-Status: GOOD ( 16.10 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: jun.nie@linaro.org, linux@armlinux.org.uk, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+infradead-linux-arm-kernel=archiver.kernel.org@lists.infradead.org On Tue, May 12, 2020 at 10:29:21AM +0800, Samuel Zou wrote: > Fix the following sparse warning: > > arch/arm/mach-zx/platsmp.c:41:13: warning: symbol 'zx_smp_prepare_cpus' was not declared. > > The zx_smp_prepare_cpus has only call site within platsmp.c > It should be static > > Fixes: 71bc724300e6 ("ARM: zx: enable SMP and hotplug for zx296702") > Reported-by: Hulk Robot > Signed-off-by: Samuel Zou Acked-by: Shawn Guo Hi Arnd, Can you please apply it to arm-soc tree? Shawn > --- > arch/arm/mach-zx/platsmp.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/arch/arm/mach-zx/platsmp.c b/arch/arm/mach-zx/platsmp.c > index d4e1d37..43a33ea 100644 > --- a/arch/arm/mach-zx/platsmp.c > +++ b/arch/arm/mach-zx/platsmp.c > @@ -38,7 +38,7 @@ static void __iomem *pcu_base; > static void __iomem *matrix_base; > static void __iomem *scu_base; > > -void __init zx_smp_prepare_cpus(unsigned int max_cpus) > +static void __init zx_smp_prepare_cpus(unsigned int max_cpus) > { > struct device_node *np; > unsigned long base = 0; > -- > 2.6.2 > _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel