[linux-next:master 7600/8035] arch/alpha/include/asm/page.h:21:64: error: 'vmaddr' undeclared

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxx/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@xxxxxxxxx>

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@xxxxxxxxxx>
:::::: CC: Will Deacon <will@xxxxxxxxxx>

-- 
0-DAY CI Kernel Test Service
https://01.org/lkp




[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Bugtraq]     [Linux OMAP]     [Linux MIPS]     [eCos]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux