[hnaz-mm:master 16/188] mm/vmalloc.c:1747:6: warning: no previous prototype for 'iounmap_purge_vmap_area'

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

 



tree:   https://github.com/hnaz/linux-mm master
head:   71e0d841ccd1c91e7038d385825e26342e87d198
commit: 56de161065643707f3a3a0fd0cc2c9e747148eae [16/188] mm/vmalloc: fix spinning drain_vmap_work after reading from /proc/vmcore
config: um-x86_64_defconfig (https://download.01.org/0day-ci/archive/20220406/202204061005.jSc4B5gA-lkp@xxxxxxxxx/config)
compiler: gcc-11 (Debian 11.2.0-19) 11.2.0
reproduce (this is a W=1 build):
        # https://github.com/hnaz/linux-mm/commit/56de161065643707f3a3a0fd0cc2c9e747148eae
        git remote add hnaz-mm https://github.com/hnaz/linux-mm
        git fetch --no-tags hnaz-mm master
        git checkout 56de161065643707f3a3a0fd0cc2c9e747148eae
        # save the config file to linux build tree
        mkdir build_dir
        make W=1 O=build_dir ARCH=um SUBARCH=x86_64 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/vmalloc.c:1747:6: warning: no previous prototype for 'iounmap_purge_vmap_area' [-Wmissing-prototypes]
    1747 | void iounmap_purge_vmap_area(void)
         |      ^~~~~~~~~~~~~~~~~~~~~~~


vim +/iounmap_purge_vmap_area +1747 mm/vmalloc.c

  1744	
  1745	#ifdef CONFIG_X86_64
  1746	/* Called after iounmap() to immediately free vm_area_struct's. */
> 1747	void iounmap_purge_vmap_area(void)
  1748	{
  1749		mutex_lock(&vmap_purge_lock);
  1750		__purge_vmap_area_lazy(ULONG_MAX, 0);
  1751		mutex_unlock(&vmap_purge_lock);
  1752	}
  1753	#endif /* CONFIG_X86_64 */
  1754	

-- 
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