[linux-next:master 6797/7915] mm/mmap.c:754:6: warning: no previous prototype for 'vma_store'

[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:   d4a0ae62a277377de396850ed4b709b6bd9b7326
commit: e1345552730700c6b405d20acdfb92da77d0cdbf [6797/7915] kernel/fork: Use maple tree for dup_mmap() during forking
config: i386-randconfig-a003 (https://download.01.org/0day-ci/archive/20220224/202202241600.1WmL7XfG-lkp@xxxxxxxxx/config)
compiler: gcc-9 (Debian 9.3.0-22) 9.3.0
reproduce (this is a W=1 build):
        # https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git/commit/?id=e1345552730700c6b405d20acdfb92da77d0cdbf
        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 e1345552730700c6b405d20acdfb92da77d0cdbf
        # save the config file to linux build tree
        mkdir build_dir
        make W=1 O=build_dir ARCH=i386 SHELL=/bin/bash

If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@xxxxxxxxx>

All warnings (new ones prefixed by >>):

>> mm/mmap.c:754:6: warning: no previous prototype for 'vma_store' [-Wmissing-prototypes]
     754 | void vma_store(struct mm_struct *mm, struct vm_area_struct *vma)
         |      ^~~~~~~~~


vim +/vma_store +754 mm/mmap.c

37f4270132af31 Liam R. Howlett 2020-07-24  748  
37f4270132af31 Liam R. Howlett 2020-07-24  749  /*
37f4270132af31 Liam R. Howlett 2020-07-24  750   * vma_store() - Store a given vm_area_struct in the maple tree.
37f4270132af31 Liam R. Howlett 2020-07-24  751   * @mm: The struct_mm
37f4270132af31 Liam R. Howlett 2020-07-24  752   * @vma: The vm_area_struct to store in the maple tree.
37f4270132af31 Liam R. Howlett 2020-07-24  753   */
37f4270132af31 Liam R. Howlett 2020-07-24 @754  void vma_store(struct mm_struct *mm, struct vm_area_struct *vma)
37f4270132af31 Liam R. Howlett 2020-07-24  755  {
37f4270132af31 Liam R. Howlett 2020-07-24  756  	MA_STATE(mas, &mm->mm_mt, 0, 0);
37f4270132af31 Liam R. Howlett 2020-07-24  757  
37f4270132af31 Liam R. Howlett 2020-07-24  758  	trace_vma_store(vma->vm_mm, vma);
37f4270132af31 Liam R. Howlett 2020-07-24  759  	vma_mas_store(vma, &mas);
37f4270132af31 Liam R. Howlett 2020-07-24  760  }
37f4270132af31 Liam R. Howlett 2020-07-24  761  

:::::: The code at line 754 was first introduced by commit
:::::: 37f4270132af31dd08a209799d420f72bfddb49c mm: Start tracking VMAs with maple tree

:::::: TO: Liam R. Howlett <Liam.Howlett@xxxxxxxxxx>
:::::: CC: Liam R. Howlett <Liam.Howlett@xxxxxxxxxx>

---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@xxxxxxxxxxxx




[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