tree:
https://git.kernel.org/pub/scm/linux/kernel/git/peterz/queue.git mm/tlb
head: 448637b411ee0795aba6433dd8d35dbc26040078
commit: ba06b67ff59d9ea1edc5593d23f640b4c48a43fa [6/10] ia64/tlb: Fix __p*_free_tlb()
config: ia64-allmodconfig (attached as .config)
compiler: ia64-linux-gcc (GCC) 11.2.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 ba06b67ff59d9ea1edc5593d23f640b4c48a43fa
# save the attached .config to linux build tree
mkdir build_dir
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-11.2.0 make.cross O=build_dir
ARCH=ia64 SHELL=/bin/bash
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 >>):
mm/memory.c: In function 'free_pmd_range':
> cc1: error: unterminated argument list invoking macro
"tlb_remove_table"
In file included from mm/memory.c:81:
> arch/ia64/include/asm/pgalloc.h:50:9: error:
'tlb_remove_table' undeclared (first use in this function); did you mean
'tlb_remove_page'?
50 | tlb_remove_table((tlb),
virt_to_page(pmd)
| ^~~~~~~~~~~~~~~~
include/asm-generic/tlb.h:638:17: note: in expansion of macro '__pmd_free_tlb'
638 | __pmd_free_tlb(tlb, pmdp, address); \
| ^~~~~~~~~~~~~~
mm/memory.c:265:9: note: in expansion of macro 'pmd_free_tlb'
265 | pmd_free_tlb(tlb, pmd, start);
| ^~~~~~~~~~~~
arch/ia64/include/asm/pgalloc.h:50:9: note: each undeclared identifier is reported only
once for each function it appears in
50 | tlb_remove_table((tlb), virt_to_page(pmd)
| ^~~~~~~~~~~~~~~~
include/asm-generic/tlb.h:638:17: note: in expansion of macro '__pmd_free_tlb'
638 | __pmd_free_tlb(tlb, pmdp, address); \
| ^~~~~~~~~~~~~~
mm/memory.c:265:9: note: in expansion of macro 'pmd_free_tlb'
265 | pmd_free_tlb(tlb, pmd, start);
| ^~~~~~~~~~~~
> mm/memory.c:5470: error: expected ';' at end of input
> mm/memory.c:265:9: error: expected declaration or statement at end of input
265 | pmd_free_tlb(tlb, pmd, start);
| ^~~~~~~~~~~~
> mm/memory.c:265:9: error: expected declaration or statement at
end of input
At top level:
mm/memory.c:204:13: warning: 'check_sync_rss_stat' defined but not used
[-Wunused-function]
204 | static void check_sync_rss_stat(struct task_struct *task)
| ^~~~~~~~~~~~~~~~~~~
mm/memory.c:190:13: warning: 'add_mm_counter_fast' defined but not used
[-Wunused-function]
190 | static void add_mm_counter_fast(struct mm_struct *mm, int member, int val)
| ^~~~~~~~~~~~~~~~~~~
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org