Received: by 2002:a05:6a10:9848:0:0:0:0 with SMTP id x8csp2127328pxf; Sat, 27 Mar 2021 03:21:39 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxqkd72vMfutFqFCR32K827RlZTej1E09atHLg7MZiObPIG4O/pE3TPmx6cVhS9dj1Arq8X X-Received: by 2002:a17:906:5ad2:: with SMTP id x18mr19629951ejs.117.1616840499414; Sat, 27 Mar 2021 03:21:39 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1616840499; cv=none; d=google.com; s=arc-20160816; b=fVRK5OTgMxjNEYeGEKCSY9clFfsv8NMue4KCMHUVq0ss/itY+j1Fyq9sv6h79zlmFs 6xv9zcUOQbczSX29wpMCj0mjnf8IAgRsVlIUE+84vNFrXnHQVQCAWHqj5gqrzG5ht/wd 3GPTj1/H5Oy/Nfu1nWwIz/kZM06Ql02tqnlpfclhrjN8x+nGw8htqOHPpT+g+nezZ/vb 48HFjadew35JsxqewER5fgk93XbESaPmdz8caRqv2FsNKCE6fz/OQLITg9AMVL78aW2C aQA5pzRvV9xmb7y0UfVVx3gbT54WtLWlYPyFLSsee4jSY6DgCsMQuuke84tb4Ajkpp/L LWPg== 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=DVjYSyWQdbWu0/nbG+Yl381iPzwCZZyDqilArg4nupU=; b=YHpM1Db/ZkiF/P7np6DAm46tVX8PeX+0O/6jkmharA9s+wKvQmCcKBv9Kfw4ev79RF AMj5ZlH5hpRl9qSwScSO4LBRMLY0GkgGeHRibWraqqiLhkAO7JweWaOLbP8vGHdc2u1Z X+lyiCRaGhlf9TiwpnKSgdPm/G482yRIkEIXapW56u0rql47TutpK1het+8SqwmHvcbm crtYLSUaMYkM0PNNgOXK40vedtpna4/J57ERy4TSHyEkqO6ernRbs05FPL1uvmKalPT0 TWXaaAyE+yLv73lsk8D/CtRZjMDSW8dlszglyCL81pILjdj7WQEVRSFYAz4OD61g0Z3X McxA== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail (test mode) header.i=@armlinux.org.uk header.s=pandora-2019 header.b=RWob4ATB; 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=fail (p=NONE sp=NONE dis=NONE) header.from=armlinux.org.uk Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id gs37si9039717ejc.198.2021.03.27.03.21.17; Sat, 27 Mar 2021 03:21:39 -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=fail (test mode) header.i=@armlinux.org.uk header.s=pandora-2019 header.b=RWob4ATB; 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=fail (p=NONE sp=NONE dis=NONE) header.from=armlinux.org.uk Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230415AbhC0KUi (ORCPT + 99 others); Sat, 27 Mar 2021 06:20:38 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:52558 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230288AbhC0KUh (ORCPT ); Sat, 27 Mar 2021 06:20:37 -0400 Received: from pandora.armlinux.org.uk (pandora.armlinux.org.uk [IPv6:2001:4d48:ad52:32c8:5054:ff:fe00:142]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 13717C0613B1 for ; Sat, 27 Mar 2021 03:20:29 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=armlinux.org.uk; s=pandora-2019; h=Sender:In-Reply-To:Content-Type: MIME-Version:References:Message-ID:Subject:Cc:To:From:Date:Reply-To: Content-Transfer-Encoding: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=DVjYSyWQdbWu0/nbG+Yl381iPzwCZZyDqilArg4nupU=; b=RWob4ATBhI0omzHwVpSZz+5rJ PvShLfpkCXTTYHLmGnvRsSXA3voEtP4FgpJXYv2PekHAr/Yfe+aeZY19xJ+atsVLlzU/LNYtaFz8x KuR39CKrY6gHyr886ECyy74TXcZBHAadfN/GPWfM6GXo9LqmXtTTrsS1vqrvvRYY18yrqPEBTJL9H png8xT0eNBhQ7ETjTWk8Odqwn1d8n0Qm8tcMKwhsY2AjYkYT00Mk2toronqDhmirBYt+8IKlbJhdH L/c+EfeYhAIjyMuuFMIZWN+GclekFfxR/tzssc1YHqupY71wCFd3Rt8I1aWSCFMBA+PB6/oITQbC0 rPHVGSsBA==; Received: from shell.armlinux.org.uk ([fd8f:7570:feb6:1:5054:ff:fe00:4ec]:51866) by pandora.armlinux.org.uk with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1lQ63B-0006Pg-TG; Sat, 27 Mar 2021 10:20:13 +0000 Received: from linux by shell.armlinux.org.uk with local (Exim 4.92) (envelope-from ) id 1lQ63A-0007xU-VS; Sat, 27 Mar 2021 10:20:12 +0000 Date: Sat, 27 Mar 2021 10:20:12 +0000 From: Russell King - ARM Linux admin To: Shixin Liu Cc: Andrey Ryabinin , Alexander Potapenko , Andrey Konovalov , Dmitry Vyukov , kasan-dev@googlegroups.com, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] arm: 9016/2: Make symbol 'tmp_pmd_table' static Message-ID: <20210327102012.GT1463@shell.armlinux.org.uk> References: <20210327083018.1922539-1-liushixin2@huawei.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20210327083018.1922539-1-liushixin2@huawei.com> User-Agent: Mutt/1.10.1 (2018-07-13) Sender: Russell King - ARM Linux admin Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Why do you have 9016/2 in the subject line? That's an identifier from the patch system which shouldn't be in the subject line. If you want to refer to something already committed, please do so via the sha1 git hash and quote the first line of the commit description within ("...") in the body of your commit description. Thanks. On Sat, Mar 27, 2021 at 04:30:18PM +0800, Shixin Liu wrote: > Symbol 'tmp_pmd_table' is not used outside of kasan_init.c and only used > when CONFIG_ARM_LPAE enabled. So marks it static and add it into CONFIG_ARM_LPAE. > > Signed-off-by: Shixin Liu > --- > arch/arm/mm/kasan_init.c | 4 +++- > 1 file changed, 3 insertions(+), 1 deletion(-) > > diff --git a/arch/arm/mm/kasan_init.c b/arch/arm/mm/kasan_init.c > index 9c348042a724..3a06d3b51f97 100644 > --- a/arch/arm/mm/kasan_init.c > +++ b/arch/arm/mm/kasan_init.c > @@ -27,7 +27,9 @@ > > static pgd_t tmp_pgd_table[PTRS_PER_PGD] __initdata __aligned(PGD_SIZE); > > -pmd_t tmp_pmd_table[PTRS_PER_PMD] __page_aligned_bss; > +#ifdef CONFIG_ARM_LPAE > +static pmd_t tmp_pmd_table[PTRS_PER_PMD] __page_aligned_bss; > +#endif > > static __init void *kasan_alloc_block(size_t size) > { > -- > 2.25.1 > > -- RMK's Patch system: https://www.armlinux.org.uk/developer/patches/ FTTP is here! 40Mbps down 10Mbps up. Decent connectivity at last!