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 6342BC433EF for ; Mon, 2 May 2022 15:41:37 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id A8E946B0072; Mon, 2 May 2022 11:41:36 -0400 (EDT) Received: by kanga.kvack.org (Postfix, from userid 40) id A3D6E6B0073; Mon, 2 May 2022 11:41:36 -0400 (EDT) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 904B06B0074; Mon, 2 May 2022 11:41:36 -0400 (EDT) X-Delivered-To: linux-mm@kvack.org Received: from relay.hostedemail.com (relay.hostedemail.com [64.99.140.25]) by kanga.kvack.org (Postfix) with ESMTP id 82E0F6B0072 for ; Mon, 2 May 2022 11:41:36 -0400 (EDT) Received: from smtpin12.hostedemail.com (a10.router.float.18 [10.200.18.1]) by unirelay07.hostedemail.com (Postfix) with ESMTP id 5709A21214 for ; Mon, 2 May 2022 15:41:36 +0000 (UTC) X-FDA: 79421217792.12.9E37C57 Received: from mga05.intel.com (mga05.intel.com [192.55.52.43]) by imf14.hostedemail.com (Postfix) with ESMTP id 0E9E7100072 for ; Mon, 2 May 2022 15:41:33 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1651506095; x=1683042095; h=date:from:to:cc:subject:message-id:mime-version; bh=gLz0WBWeqCgRAQGaEqN6nZ2OWPPcfhTHfUidw5p9koo=; b=OUSGyj1fLMwr+W4Lj2Sfu2UQRskmMQ+P8o1ue1wsc2FEw4PhlinK3gSh tttAW0wCR8K051340bUVKyOYt4RdiJIGk8TZC7/5xwE4t1WOGoJbdwjv7 pxo9ygiCTNX/Es6hHn+SH/ggeHIkGByn6yLR5f6i+z0RfKnYes3kvPWdz 1gyI+kzSISI27hi0BJEQbfB3WKg9XQsxhw9BI04sl9L/5L5QxsbZdNAg7 khPajWyJUAL+JkATLZIhPbXRRifzPz0RHRhCbFyyJ4FpMQJVCvHF9teEN 0fG6UfIyDyC4pnHMJ4FbET86goj30bOe17/QdzDjXBJlrAIgK4O1F/YT5 g==; X-IronPort-AV: E=McAfee;i="6400,9594,10335"; a="353673639" X-IronPort-AV: E=Sophos;i="5.91,192,1647327600"; d="scan'208";a="353673639" Received: from fmsmga007.fm.intel.com ([10.253.24.52]) by fmsmga105.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 02 May 2022 08:41:33 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.91,192,1647327600"; d="scan'208";a="567247241" Received: from lkp-server01.sh.intel.com (HELO 5056e131ad90) ([10.239.97.150]) by fmsmga007.fm.intel.com with ESMTP; 02 May 2022 08:41:32 -0700 Received: from kbuild by 5056e131ad90 with local (Exim 4.95) (envelope-from ) id 1nlYB1-0009ef-GB; Mon, 02 May 2022 15:41:31 +0000 Date: Mon, 2 May 2022 23:40:39 +0800 From: kernel test robot To: "Matthew Wilcox (Oracle)" Cc: kbuild-all@lists.01.org, Linux Memory Management List , Andrew Morton Subject: [linux-next:master 7600/8035] arch/alpha/include/asm/page.h:21:64: error: 'vmaddr' undeclared Message-ID: <202205022324.ypi9GtUO-lkp@intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline X-Rspamd-Server: rspam10 X-Rspamd-Queue-Id: 0E9E7100072 Authentication-Results: imf14.hostedemail.com; dkim=pass header.d=intel.com header.s=Intel header.b=OUSGyj1f; spf=none (imf14.hostedemail.com: domain of lkp@intel.com has no SPF policy when checking 192.55.52.43) smtp.mailfrom=lkp@intel.com; dmarc=pass (policy=none) header.from=intel.com X-Rspam-User: X-Stat-Signature: zx3nd9m9pk5du4z5hrtak3tmuxkcwu7z X-HE-Tag: 1651506093-612508 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: tree: https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git master head: 9f9b9a2972eb8dcaad09d826c5c6d7488eaca3e6 commit: c4199a5358c9d22d9b88e2e6e4e94a8943415595 [7600/8035] mm: remove alloc_pages_vma() config: alpha-defconfig (https://download.01.org/0day-ci/archive/20220502/202205022324.ypi9GtUO-lkp@intel.com/config) compiler: alpha-linux-gcc (GCC) 11.3.0 reproduce (this is a W=1 build): wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross chmod +x ~/bin/make.cross # https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git/commit/?id=c4199a5358c9d22d9b88e2e6e4e94a8943415595 git remote add linux-next https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git git fetch --no-tags linux-next master git checkout c4199a5358c9d22d9b88e2e6e4e94a8943415595 # save the config file mkdir build_dir && cp config build_dir/.config COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-11.3.0 make.cross W=1 O=build_dir ARCH=alpha SHELL=/bin/bash If you fix the issue, kindly add following tag as appropriate Reported-by: kernel test robot All errors (new ones prefixed by >>): In file included from include/linux/shm.h:6, from include/linux/sched.h:16, from include/linux/hardirq.h:9, from include/linux/interrupt.h:11, from include/linux/kernel_stat.h:9, from mm/memory.c:42: mm/memory.c: In function 'wp_page_copy': >> arch/alpha/include/asm/page.h:21:64: error: 'vmaddr' undeclared (first use in this function) 21 | alloc_page_vma(GFP_HIGHUSER_MOVABLE | __GFP_ZERO, vma, vmaddr) | ^~~~~~ mm/memory.c:3097:28: note: in expansion of macro 'alloc_zeroed_user_highpage_movable' 3097 | new_page = alloc_zeroed_user_highpage_movable(vma, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ arch/alpha/include/asm/page.h:21:64: note: each undeclared identifier is reported only once for each function it appears in 21 | alloc_page_vma(GFP_HIGHUSER_MOVABLE | __GFP_ZERO, vma, vmaddr) | ^~~~~~ mm/memory.c:3097:28: note: in expansion of macro 'alloc_zeroed_user_highpage_movable' 3097 | new_page = alloc_zeroed_user_highpage_movable(vma, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mm/memory.c: In function 'do_anonymous_page': >> arch/alpha/include/asm/page.h:21:64: error: 'vmaddr' undeclared (first use in this function) 21 | alloc_page_vma(GFP_HIGHUSER_MOVABLE | __GFP_ZERO, vma, vmaddr) | ^~~~~~ mm/memory.c:4068:16: note: in expansion of macro 'alloc_zeroed_user_highpage_movable' 4068 | page = alloc_zeroed_user_highpage_movable(vma, vmf->address); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ vim +/vmaddr +21 arch/alpha/include/asm/page.h ^1da177e4c3f41 include/asm-alpha/page.h Linus Torvalds 2005-04-16 19 92638b4e1b47f9 arch/alpha/include/asm/page.h Peter Collingbourne 2021-06-02 20 #define alloc_zeroed_user_highpage_movable(vma, vaddr) \ 92638b4e1b47f9 arch/alpha/include/asm/page.h Peter Collingbourne 2021-06-02 @21 alloc_page_vma(GFP_HIGHUSER_MOVABLE | __GFP_ZERO, vma, vmaddr) 92638b4e1b47f9 arch/alpha/include/asm/page.h Peter Collingbourne 2021-06-02 22 #define __HAVE_ARCH_ALLOC_ZEROED_USER_HIGHPAGE_MOVABLE ^1da177e4c3f41 include/asm-alpha/page.h Linus Torvalds 2005-04-16 23 :::::: The code at line 21 was first introduced by commit :::::: 92638b4e1b47f97d7269e74465dedf73096f777d mm: arch: remove indirection level in alloc_zeroed_user_highpage_movable() :::::: TO: Peter Collingbourne :::::: CC: Will Deacon -- 0-DAY CI Kernel Test Service https://01.org/lkp