Received: by 2002:a05:6a10:9848:0:0:0:0 with SMTP id x8csp3296554pxf; Sun, 28 Mar 2021 20:33:30 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzhufKYwCKt6RViQ9dVhsmyFYddWYa/PSQU4+omCuwUpAeTbkAoiPI+kRN++EYsED0p3UHk X-Received: by 2002:a17:906:5ad2:: with SMTP id x18mr26537277ejs.117.1616988810593; Sun, 28 Mar 2021 20:33:30 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1616988810; cv=none; d=google.com; s=arc-20160816; b=TJWH9itJclzdJ17Vmjsain1l0f/eZ0F+6FKaDd5cRiHOZj293G0VoXhBggbNtLzL2h WoA2vjfmA2n9Jmtp2NM7vLJemWBHAAsz45bJDVdN6NJtx8sqduXfflfpaZNCAY/zS32p gzvbhZ1OpslVDs6BlSUrmFZjFcXY+YwrJu5uzl6S6KBZ0FInqdOnsWJq9BhCV1bO/xyn spQoAw/eNBKR+Hx5ob2P2evd+pATiZE5mOBv894DoumvbznDKy1EY5ODIqi8amIh/xFB 8I5Dk/cZ4U0VKR3F1rDP39VnWEjjSau8S9Lhp6yuetbyOgZ1HMBZjPhMNYY18Wc1MQ0C /7Pg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to :mime-version:user-agent:date:message-id:from:cc:references:to :subject; bh=P3CpQYV6eiGEQuJfWfsgkjN8kjssxlj7g5c55rhh5xY=; b=fs0TEBCAe08eXX/4XXjvgIv0mkU5VezdPHdu+CtaKwY5ECHpPaQBAYVh3PNMMGjFeP +sU2f1ZaIA6L40TRmf9lQTzT9tkaPdY8vtgsRfmOAUyaShd6rb8Up47cuRfPtbW/YaIO Evjh2eQ0lB/SB7k8L6piZoaLhG4/VpKLBmsqGAIFx4m9GlKeS1gNxm1vkQoRf/dVwziX GYSobrU99H+WBJHNZG3xpwhHFoEXCdfaWeiZoVpnJeX/73HCKdUCI9d7AbOwgLhG4sxR AHYtHWjkyPar0mj9LREmxyVaaF4M2hFszgJr+HxoDZj6lhAruW9tD6KBmBaihJKwH97U /1Ow== ARC-Authentication-Results: i=1; mx.google.com; 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=huawei.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id cy27si11820314edb.529.2021.03.28.20.33.07; Sun, 28 Mar 2021 20:33:30 -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; 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=huawei.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230243AbhC2DcJ (ORCPT + 99 others); Sun, 28 Mar 2021 23:32:09 -0400 Received: from szxga05-in.huawei.com ([45.249.212.191]:15027 "EHLO szxga05-in.huawei.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230220AbhC2Dbx (ORCPT ); Sun, 28 Mar 2021 23:31:53 -0400 Received: from DGGEMS414-HUB.china.huawei.com (unknown [172.30.72.60]) by szxga05-in.huawei.com (SkyGuard) with ESMTP id 4F7yjm0dqQzNr5m; Mon, 29 Mar 2021 11:29:16 +0800 (CST) Received: from [10.174.177.208] (10.174.177.208) by DGGEMS414-HUB.china.huawei.com (10.3.19.214) with Microsoft SMTP Server id 14.3.498.0; Mon, 29 Mar 2021 11:31:51 +0800 Subject: Re: [PATCH] arm: 9016/2: Make symbol 'tmp_pmd_table' static To: Russell King - ARM Linux admin References: <20210327083018.1922539-1-liushixin2@huawei.com> <20210327102012.GT1463@shell.armlinux.org.uk> CC: Andrey Ryabinin , Alexander Potapenko , Andrey Konovalov , Dmitry Vyukov , , , From: Liu Shixin Message-ID: <8578f96b-1a86-27a9-86a4-ed97c90b4892@huawei.com> Date: Mon, 29 Mar 2021 11:31:51 +0800 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:45.0) Gecko/20100101 Thunderbird/45.7.1 MIME-Version: 1.0 In-Reply-To: <20210327102012.GT1463@shell.armlinux.org.uk> Content-Type: text/plain; charset="windows-1252" Content-Transfer-Encoding: 7bit X-Originating-IP: [10.174.177.208] X-CFilter-Loop: Reflected Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org I'm sorry for making such a stupid mistake. There was only one patch committed before(5615f69bc209 "ARM: 9016/2: Initialize the mapping of KASan shadow memory"), and I used the same subject by mistake. Thanks for your correction, I will revise the subject and resend it. How about using "arm: mm: kasan_init" in the subject? On 2021/3/27 18:20, Russell King - ARM Linux admin wrote: > 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 >> >>