Re: [PATCH rfc v2 01/10] mm: add a generic VMA lock-based page fault handler

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

 



Hi

On 2023/8/21 23:13, kernel test robot wrote:
Hi Kefeng,

kernel test robot noticed the following build errors:

[auto build test ERROR on next-20230821]
[cannot apply to akpm-mm/mm-everything arm64/for-next/core tip/x86/mm s390/features powerpc/next powerpc/fixes arm/for-next arm/fixes linus/master v6.5-rc7 v6.5-rc6 v6.5-rc5 v6.5-rc7]
[If your patch is applied to the wrong git tree, kindly drop us a note.
And when submitting patch, we suggest to use '--base' as documented in
https://git-scm.com/docs/git-format-patch#_base_tree_information]

url:    https://github.com/intel-lab-lkp/linux/commits/Kefeng-Wang/mm-add-a-generic-VMA-lock-based-page-fault-handler/20230821-203442
base:   next-20230821
patch link:    https://lore.kernel.org/r/20230821123056.2109942-2-wangkefeng.wang%40huawei.com
patch subject: [PATCH rfc v2 01/10] mm: add a generic VMA lock-based page fault handler
config: i386-tinyconfig (https://download.01.org/0day-ci/archive/20230821/202308212249.dZG3d55u-lkp@xxxxxxxxx/config)
compiler: gcc-12 (Debian 12.2.0-14) 12.2.0
reproduce: (https://download.01.org/0day-ci/archive/20230821/202308212249.dZG3d55u-lkp@xxxxxxxxx/reproduce)

If you fix the issue in a separate patch/commit (i.e. not just a new version of
the same patch/commit), kindly add following tags
| Reported-by: kernel test robot <lkp@xxxxxxxxx>
| Closes: https://lore.kernel.org/oe-kbuild-all/202308212249.dZG3d55u-lkp@xxxxxxxxx/

All errors (new ones prefixed by >>):

    In file included from include/linux/memcontrol.h:20,
                     from include/linux/swap.h:9,
                     from include/linux/suspend.h:5,
                     from arch/x86/kernel/asm-offsets.c:14:
include/linux/mm.h:810:38: error: redefinition of 'lock_vma_under_rcu'
      810 | static inline struct vm_area_struct *lock_vma_under_rcu(struct mm_struct *mm,
          |                                      ^~~~~~~~~~~~~~~~~~
    include/linux/mm.h:794:38: note: previous definition of 'lock_vma_under_rcu' with type 'struct vm_area_struct *(struct mm_struct *, long unsigned int)'
      794 | static inline struct vm_area_struct *lock_vma_under_rcu(struct mm_struct *mm,
          |                                      ^~~~~~~~~~~~~~~~~~
    make[3]: *** [scripts/Makefile.build:116: arch/x86/kernel/asm-offsets.s] Error 1
    make[3]: Target 'prepare' not remade because of errors.
    make[2]: *** [Makefile:1203: prepare0] Error 2
    make[2]: Target 'prepare' not remade because of errors.
    make[1]: *** [Makefile:234: __sub-make] Error 2
    make[1]: Target 'prepare' not remade because of errors.
    make: *** [Makefile:234: __sub-make] Error 2
    make: Target 'prepare' not remade because of errors.



Yes, the following change should be drop as it is miscopied...

vim +/lock_vma_under_rcu +810 include/linux/mm.h

    809	
  > 810	static inline struct vm_area_struct *lock_vma_under_rcu(struct mm_struct *mm,
    811			unsigned long address)
    812	{
    813		return NULL;
    814	}
    815	





[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