[arm-platforms:kvm-arm64/mmu/guest-MMIO-guard 20/23] mm/vmalloc.c:2536:13: warning: no previous prototype for function 'iounmap_page_range_hook'
kernel test robot
lkp at intel.com
Wed Jun 30 17:28:22 PDT 2021
tree: https://git.kernel.org/pub/scm/linux/kernel/git/maz/arm-platforms.git kvm-arm64/mmu/guest-MMIO-guard
head: aadcd7eee6a1082ab94318bcb52fc494cbe0eb47
commit: df21882b06ba969aeede450a4c398a10d18b6aca [20/23] mm/ioremap: Add arch-specific callbacks on ioremap/iounmap calls
config: s390-randconfig-r014-20210630 (attached as .config)
compiler: clang version 13.0.0 (https://github.com/llvm/llvm-project 8d21d5472501460933e78aead04cf59579025ba4)
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 s390 cross compiling tool for clang build
# apt-get install binutils-s390x-linux-gnu
# https://git.kernel.org/pub/scm/linux/kernel/git/maz/arm-platforms.git/commit/?id=df21882b06ba969aeede450a4c398a10d18b6aca
git remote add arm-platforms https://git.kernel.org/pub/scm/linux/kernel/git/maz/arm-platforms.git
git fetch --no-tags arm-platforms kvm-arm64/mmu/guest-MMIO-guard
git checkout df21882b06ba969aeede450a4c398a10d18b6aca
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross ARCH=s390
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp at intel.com>
All warnings (new ones prefixed by >>):
mm/vmalloc.c:1599:6: warning: no previous prototype for function 'set_iounmap_nonlazy' [-Wmissing-prototypes]
void set_iounmap_nonlazy(void)
^
mm/vmalloc.c:1599:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
void set_iounmap_nonlazy(void)
^
static
>> mm/vmalloc.c:2536:13: warning: no previous prototype for function 'iounmap_page_range_hook' [-Wmissing-prototypes]
void __weak iounmap_page_range_hook(phys_addr_t phys_addr, size_t size)
^
mm/vmalloc.c:2536:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
void __weak iounmap_page_range_hook(phys_addr_t phys_addr, size_t size)
^
static
mm/vmalloc.c:753:1: warning: unused function 'compute_subtree_max_size' [-Wunused-function]
compute_subtree_max_size(struct vmap_area *va)
^
3 warnings generated.
vim +/iounmap_page_range_hook +2536 mm/vmalloc.c
2535
> 2536 void __weak iounmap_page_range_hook(phys_addr_t phys_addr, size_t size)
2537 {
2538 }
2539
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
-------------- next part --------------
A non-text attachment was scrubbed...
Name: .config.gz
Type: application/gzip
Size: 15617 bytes
Desc: not available
URL: <http://lists.infradead.org/pipermail/linux-arm-kernel/attachments/20210701/4cae7d2e/attachment-0001.gz>
More information about the linux-arm-kernel
mailing list