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 Received: from kanga.kvack.org (kanga.kvack.org [205.233.56.17]) by smtp.lore.kernel.org (Postfix) with ESMTP id DF2BCC433EF for ; Thu, 25 Nov 2021 07:34:41 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id 7260A6B0075; Thu, 25 Nov 2021 02:34:26 -0500 (EST) Received: by kanga.kvack.org (Postfix, from userid 40) id 6D4756B007B; Thu, 25 Nov 2021 02:34:26 -0500 (EST) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 5EA9A6B007D; Thu, 25 Nov 2021 02:34:26 -0500 (EST) X-Delivered-To: linux-mm@kvack.org Received: from forelay.hostedemail.com (smtprelay0012.hostedemail.com [216.40.44.12]) by kanga.kvack.org (Postfix) with ESMTP id 4FFE56B0075 for ; Thu, 25 Nov 2021 02:34:26 -0500 (EST) Received: from smtpin02.hostedemail.com (10.5.19.251.rfc1918.com [10.5.19.251]) by forelay02.hostedemail.com (Postfix) with ESMTP id 1512B8E2FE for ; Thu, 25 Nov 2021 07:34:16 +0000 (UTC) X-FDA: 78846639312.02.731AF3F Received: from szxga03-in.huawei.com (szxga03-in.huawei.com [45.249.212.189]) by imf10.hostedemail.com (Postfix) with ESMTP id 96169600199F for ; Thu, 25 Nov 2021 07:34:11 +0000 (UTC) Received: from dggpemm500021.china.huawei.com (unknown [172.30.72.54]) by szxga03-in.huawei.com (SkyGuard) with ESMTP id 4J08hz4ttXz8vdg; Thu, 25 Nov 2021 15:32:19 +0800 (CST) Received: from dggpemm500001.china.huawei.com (7.185.36.107) by dggpemm500021.china.huawei.com (7.185.36.109) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2308.20; Thu, 25 Nov 2021 15:34:07 +0800 Received: from [10.174.177.243] (10.174.177.243) by dggpemm500001.china.huawei.com (7.185.36.107) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256) id 15.1.2308.20; Thu, 25 Nov 2021 15:34:06 +0800 Message-ID: <4d951721-caa2-f692-293d-ee8b93e62597@huawei.com> Date: Thu, 25 Nov 2021 15:34:06 +0800 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:91.0) Gecko/20100101 Thunderbird/91.2.0 Subject: Re: [next] kasan: shadow.c:528:33: error: 'VM_DELAY_KMEMLEAK' undeclared Content-Language: en-US To: Naresh Kamboju , Linux-Next Mailing List , open list , linux-mm CC: Stephen Rothwell , Andrew Morton , Yongqiang Liu , Andrey Ryabinin , Dmitry Vyukov , Catalin Marinas , Will Deacon , Heiko Carstens , Vasily Gorbik , Christian Borntraeger , Alexander Gordeev , Thomas Gleixner , Ingo Molnar , Borislav Petkov , Dave Hansen , Alexander Potapenko References: From: Kefeng Wang In-Reply-To: Content-Type: text/plain; charset="UTF-8"; format=flowed X-Originating-IP: [10.174.177.243] X-ClientProxiedBy: dggeme702-chm.china.huawei.com (10.1.199.98) To dggpemm500001.china.huawei.com (7.185.36.107) X-CFilter-Loop: Reflected X-Rspamd-Server: rspam04 X-Rspamd-Queue-Id: 96169600199F X-Stat-Signature: 555q4r7oxuj5rad3awmuhcyfnwdsiubu Authentication-Results: imf10.hostedemail.com; dkim=none; spf=pass (imf10.hostedemail.com: domain of wangkefeng.wang@huawei.com designates 45.249.212.189 as permitted sender) smtp.mailfrom=wangkefeng.wang@huawei.com; dmarc=pass (policy=quarantine) header.from=huawei.com X-HE-Tag: 1637825651-952678 Content-Transfer-Encoding: quoted-printable X-Bogosity: Ham, tests=bogofilter, spamicity=0.000000, version=1.2.4 Sender: owner-linux-mm@kvack.org Precedence: bulk X-Loop: owner-majordomo@kvack.org List-ID: Sorry for the missing change of VM_DEFER_KMEMLEAK. I will=C2=A0 add Fixes tag and resend v4. On 2021/11/25 15:13, Naresh Kamboju wrote: > [ Please ignore this email if it is already reported ] > > While building Linux next 20211125 x86 with CONFIG_KASAN=3Dy gcc-11 > following warnings / errors noticed. > > mm/kasan/shadow.c: In function 'kasan_module_alloc': > mm/kasan/shadow.c:528:33: error: 'VM_DELAY_KMEMLEAK' undeclared (first > use in this function); did you mean 'VM_DEFER_KMEMLEAK'? > 528 | if (vm->flags & VM_DELAY_KMEMLEAK) > | ^~~~~~~~~~~~~~~~~ > | VM_DEFER_KMEMLEAK > mm/kasan/shadow.c:528:33: note: each undeclared identifier is reported > only once for each function it appears in > make[3]: *** [scripts/Makefile.build:288: mm/kasan/shadow.o] Error 1 > > Build config: > https://builds.tuxbuild.com/21OjEyx87iCX9bqOwJrZdl1wFFj/config > > > Reported-by: Linux Kernel Functional Testing > > meta data: > ----------- > git describe: next-20211125 > git_repo: https://gitlab.com/Linaro/lkft/mirrors/next/linux-next > git_sha: f81e94e91878bded599cc60f2881cfd50991aeb9 > git_short_log: f81e94e91878 (\"Add linux-next specific files for 2= 0211125\") > target_arch: x86 > toolchain: gcc-11 > > steps to reproduce: > tuxmake --runtime podman --target-arch x86_64 --toolchain gcc-11 > --kconfig defconfig \ > --kconfig-add https://builds.tuxbuild.com/21OjEyx87iCX9bqOwJrZdl1wFFj/c= onfig > > https://builds.tuxbuild.com/21OjEyx87iCX9bqOwJrZdl1wFFj/tuxmake_reprodu= cer.sh > > -- > Linaro LKFT > https://lkft.linaro.org > .