Received: by 2002:a25:868d:0:0:0:0:0 with SMTP id z13csp799061ybk; Wed, 13 May 2020 13:27:09 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxEUaGrc6EO2JsnSXG3BC4Sn6NKKp+AVLtCN3E8/8S6aDypUDYtgi/RlAoUEAWAqnN1tAE7 X-Received: by 2002:a17:907:2711:: with SMTP id w17mr776616ejk.8.1589401629294; Wed, 13 May 2020 13:27:09 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1589401629; cv=none; d=google.com; s=arc-20160816; b=w3/fByu/hwV9iKAU8I/jnP+SP7WR3TIbOBETrYW/5r+Pdw4gQHHXJyhlq3D6tSi01Q CklydmStwN0utZkJ4ym21H8ZLU8j1rENm0KXswnX/sTMH8SnBIgfoXQMpFqWgnHRqAhj MQGj81TPaiJ4WnnlcrR/AI0D7tFptM8CTIqJD5BbzsF5DjAQdiCysGJfMgKQx7xzapqN I9B5w+2zzC9d1FXZpFCR526h1pzOIYIlE5fVDliuaThjE9Q6pTaYXNNHJ7g9J6+S7pQI L8PNhwh6OWOFViC8BtpeDmJjkBGYyO3n3gA9AiBYFtfydy3Sjr3kfuOfWFWfIxCH5AS1 l5Gg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature; bh=6aI6FnQOTeEyGoFJIU0RweAGa5VboE4Rev3PPVaWqgk=; b=Zgem3rKisDpvqIOfjCEAHswsGlWcmlWJ9G+KmmDoNLd41imdjeksUQBk1NfJasrT5M M8I7uHqPhzp2+KhARjUzZLBrwEv9x6mLLp4La+7gm5hnZwqODL4UaXsvymeHD+zJhszE 1hHj/7HxuZGwTLcQnddmLmTTSByn42zgTVMUSuKKpDYTLzHewAV5q6876ZpiT7fmmB3F MYn0D2K5I77OyA1PJSl8I5UlRXic9Dbzf8S+1+rzH3qQWGITlfsCSLzN/WXXQJ81Hupj wYas2vZmKmXlkpL3N6/N1+zKJv5tLcDJOfUxoF7U6c6n4u6qpg15NftLCa5kUKQwRsZA ZRzA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=TRpAkENq; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id b13si535665ejg.10.2020.05.13.13.26.45; Wed, 13 May 2020 13:27:09 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=TRpAkENq; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1731370AbgEMJCU (ORCPT + 99 others); Wed, 13 May 2020 05:02:20 -0400 Received: from mail.kernel.org ([198.145.29.99]:47132 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726020AbgEMJCT (ORCPT ); Wed, 13 May 2020 05:02:19 -0400 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 Cc: jun.nie@linaro.org, linux@armlinux.org.uk, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org 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-Type: text/plain; charset=us-ascii 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) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.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 >