From: kernel test robot <lkp@intel.com>
To: "Matthew Wilcox (Oracle)" <willy@infradead.org>
Cc: kbuild-all@lists.01.org,
Linux Memory Management List <linux-mm@kvack.org>,
Andrew Morton <akpm@linux-foundation.org>
Subject: [linux-next:master 7600/8035] arch/alpha/include/asm/page.h:21:64: error: 'vmaddr' undeclared
Date: Mon, 2 May 2022 23:40:39 +0800 [thread overview]
Message-ID: <202205022324.ypi9GtUO-lkp@intel.com> (raw)
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 <lkp@intel.com>
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 <pcc@google.com>
:::::: CC: Will Deacon <will@kernel.org>
--
0-DAY CI Kernel Test Service
https://01.org/lkp
next reply other threads:[~2022-05-02 15:41 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-05-02 15:40 kernel test robot [this message]
2022-05-02 23:22 ` Matthew Wilcox
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=202205022324.ypi9GtUO-lkp@intel.com \
--to=lkp@intel.com \
--cc=akpm@linux-foundation.org \
--cc=kbuild-all@lists.01.org \
--cc=linux-mm@kvack.org \
--cc=willy@infradead.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox