* [hch-misc:pgmap-refcount 8/10] arch/arm64/mm/mmu.c:800:3: error: implicit declaration of function 'vmem_altmap_free'
@ 2022-02-06 13:02 kernel test robot
0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2022-02-06 13:02 UTC (permalink / raw)
To: kbuild-all
[-- Attachment #1: Type: text/plain, Size: 3202 bytes --]
tree: git://git.infradead.org/users/hch/misc.git pgmap-refcount
head: bd9c3ba34f3c71df48eca2842a742fb3cb14b50a
commit: 2087108fbbb1a962407ac853ef3a44bfaa9910e1 [8/10] mm: don't include <linux/memremap.h> in <linux/mm.h>
config: arm64-randconfig-r014-20220206 (https://download.01.org/0day-ci/archive/20220206/202202062122.WIZXejRL-lkp(a)intel.com/config)
compiler: clang version 15.0.0 (https://github.com/llvm/llvm-project 6daaf5a44925592c764c59219b0024ee06317028)
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 arm64 cross compiling tool for clang build
# apt-get install binutils-aarch64-linux-gnu
git remote add hch-misc git://git.infradead.org/users/hch/misc.git
git fetch --no-tags hch-misc pgmap-refcount
git checkout 2087108fbbb1a962407ac853ef3a44bfaa9910e1
# save the config file to linux build tree
mkdir build_dir
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross W=1 O=build_dir ARCH=arm64 SHELL=/bin/bash arch/arm64/mm/
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@intel.com>
All errors (new ones prefixed by >>):
>> arch/arm64/mm/mmu.c:800:3: error: implicit declaration of function 'vmem_altmap_free' [-Werror,-Wimplicit-function-declaration]
vmem_altmap_free(altmap, size >> PAGE_SHIFT);
^
arch/arm64/mm/mmu.c:800:3: note: did you mean 'vmemmap_free'?
include/linux/mm.h:3141:6: note: 'vmemmap_free' declared here
void vmemmap_free(unsigned long start, unsigned long end,
^
1 error generated.
vim +/vmem_altmap_free +800 arch/arm64/mm/mmu.c
bbd6ec605c0fc2 Anshuman Khandual 2020-03-04 794
bbd6ec605c0fc2 Anshuman Khandual 2020-03-04 795 #ifdef CONFIG_MEMORY_HOTPLUG
eee07935bb52a0 Anshuman Khandual 2020-08-06 796 static void free_hotplug_page_range(struct page *page, size_t size,
eee07935bb52a0 Anshuman Khandual 2020-08-06 797 struct vmem_altmap *altmap)
bbd6ec605c0fc2 Anshuman Khandual 2020-03-04 798 {
eee07935bb52a0 Anshuman Khandual 2020-08-06 799 if (altmap) {
eee07935bb52a0 Anshuman Khandual 2020-08-06 @800 vmem_altmap_free(altmap, size >> PAGE_SHIFT);
eee07935bb52a0 Anshuman Khandual 2020-08-06 801 } else {
bbd6ec605c0fc2 Anshuman Khandual 2020-03-04 802 WARN_ON(PageReserved(page));
bbd6ec605c0fc2 Anshuman Khandual 2020-03-04 803 free_pages((unsigned long)page_address(page), get_order(size));
bbd6ec605c0fc2 Anshuman Khandual 2020-03-04 804 }
eee07935bb52a0 Anshuman Khandual 2020-08-06 805 }
bbd6ec605c0fc2 Anshuman Khandual 2020-03-04 806
:::::: The code at line 800 was first introduced by commit
:::::: eee07935bb52a03561d53ccc5cecf12f2faeb396 arm64/mm: enable vmem_altmap support for vmemmap mappings
:::::: TO: Anshuman Khandual <anshuman.khandual@arm.com>
:::::: CC: Linus Torvalds <torvalds@linux-foundation.org>
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all(a)lists.01.org
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2022-02-06 13:02 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-02-06 13:02 [hch-misc:pgmap-refcount 8/10] arch/arm64/mm/mmu.c:800:3: error: implicit declaration of function 'vmem_altmap_free' kernel test robot
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.