[linux-next:master 8043/8469] mm/vmalloc.c:425: warning: expecting prototype for vunmap_range_noflush(). Prototype was for vunmap_range() instead

[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:   9d49ed9ca93b8c564033c1d6808017bc9052b5db
commit: cde193f4250934db757c15e1b857e517cc10d8c2 [8043/8469] mm/vmalloc: remove unmap_kernel_range
config: x86_64-randconfig-a015-20210329 (attached as .config)
compiler: clang version 13.0.0 (https://github.com/llvm/llvm-project 2a28d1d3b7bf2062288b46af34e33ccc543a99fa)
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
        # install x86_64 cross compiling tool for clang build
        # apt-get install binutils-x86-64-linux-gnu
        # https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git/commit/?id=cde193f4250934db757c15e1b857e517cc10d8c2
        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 cde193f4250934db757c15e1b857e517cc10d8c2
        # save the attached .config to linux build tree
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross ARCH=x86_64 

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:425: warning: expecting prototype for vunmap_range_noflush(). Prototype was for vunmap_range() instead


vim +425 mm/vmalloc.c

   414	
   415	/**
   416	 * vunmap_range_noflush - unmap kernel virtual addresses
   417	 * @addr: start of the VM area to unmap
   418	 * @end: end of the VM area to unmap (non-inclusive)
   419	 *
   420	 * Clears any present PTEs in the virtual address range, flushes TLBs and
   421	 * caches. Any subsequent access to the address before it has been re-mapped
   422	 * is a kernel bug.
   423	 */
   424	void vunmap_range(unsigned long addr, unsigned long end)
 > 425	{
   426		flush_cache_vunmap(addr, end);
   427		vunmap_range_noflush(addr, end);
   428		flush_tlb_kernel_range(addr, end);
   429	}
   430	

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

Attachment: .config.gz
Description: application/gzip


[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