tree:
https://git.kernel.org/pub/scm/linux/kernel/git/peterz/queue.git mm/tlb
head: b713312c9af68e0fb51095e4d16e83621001ad0c
commit: 1f22f5979f06f2b7a0230be6ce0e393fabd42bcd [4/10] parisc/tlb: Fix __p*_free_tlb()
config: parisc-randconfig-r035-20210510 (attached as .config)
compiler: hppa64-linux-gcc (GCC) 9.3.0
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
#
https://git.kernel.org/pub/scm/linux/kernel/git/peterz/queue.git/commit/?...
git remote add peterz-queue
https://git.kernel.org/pub/scm/linux/kernel/git/peterz/queue.git
git fetch --no-tags peterz-queue mm/tlb
git checkout 1f22f5979f06f2b7a0230be6ce0e393fabd42bcd
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-9.3.0 make.cross W=1 ARCH=parisc
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp(a)intel.com>
All errors (new ones prefixed by >>):
In file included from mm/memory.c:81:
mm/memory.c: In function 'free_pmd_range':
> arch/parisc/include/asm/pgalloc.h:69:6: error: implicit
declaration of function '__pmd_free'; did you mean 'pmd_free'?
[-Werror=implicit-function-declaration]
69 | if (__pmd_free((tlb)->mm,
(pmd))) \
| ^~~~~~~~~~
include/asm-generic/tlb.h:638:3: note: in expansion of macro '__pmd_free_tlb'
638 | __pmd_free_tlb(tlb, pmdp, address); \
| ^~~~~~~~~~~~~~
mm/memory.c:266:2: note: in expansion of macro 'pmd_free_tlb'
266 | pmd_free_tlb(tlb, pmd, start);
| ^~~~~~~~~~~~
cc1: some warnings being treated as errors
vim +69 arch/parisc/include/asm/pgalloc.h
66
67 #define __pmd_free_tlb(tlb, pmd, addr) \
68 do { \
69 if (__pmd_free((tlb)->mm, (pmd))) \
70 tlb_remove_table((tlb), (pmd)); \
71 } while (0)
72
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org