tree: https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git master head: 6c09d7dbb7d366122d0218bc7487e0a1e6cca6ed commit: 1350595d7292e7685b089e11ec1a56248cc9bf83 [7820/7838] x86: mm: avoid allocating struct mm_struct on the stack config: arm64-randconfig-a001-20200109 (attached as .config) compiler: aarch64-linux-gcc (GCC) 7.5.0 reproduce: wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross chmod +x ~/bin/make.cross git checkout 1350595d7292e7685b089e11ec1a56248cc9bf83 # save the attached .config to linux build tree GCC_VERSION=7.5.0 make.cross ARCH=arm64 If you fix the issue, kindly add following tag Reported-by: kbuild test robot All errors (new ones prefixed by >>): arch/arm64/mm/dump.c: In function 'ptdump_walk': >> arch/arm64/mm/dump.c:326:2: error: too few arguments to function 'ptdump_walk_pgd' ptdump_walk_pgd(&st.ptdump, info->mm); ^~~~~~~~~~~~~~~ In file included from arch/arm64/mm/dump.c:18:0: include/linux/ptdump.h:20:6: note: declared here void ptdump_walk_pgd(struct ptdump_state *st, struct mm_struct *mm, pgd_t *pgd); ^~~~~~~~~~~~~~~ arch/arm64/mm/dump.c: In function 'ptdump_check_wx': arch/arm64/mm/dump.c:364:2: error: too few arguments to function 'ptdump_walk_pgd' ptdump_walk_pgd(&st.ptdump, &init_mm); ^~~~~~~~~~~~~~~ In file included from arch/arm64/mm/dump.c:18:0: include/linux/ptdump.h:20:6: note: declared here void ptdump_walk_pgd(struct ptdump_state *st, struct mm_struct *mm, pgd_t *pgd); ^~~~~~~~~~~~~~~ vim +/ptdump_walk_pgd +326 arch/arm64/mm/dump.c c9465b4ec37a68 Laura Abbott 2014-11-26 305 11e4c7fd510a42 Steven Price 2020-01-10 306 void ptdump_walk(struct seq_file *s, struct ptdump_info *info) c9465b4ec37a68 Laura Abbott 2014-11-26 307 { 11e4c7fd510a42 Steven Price 2020-01-10 308 unsigned long end = ~0UL; 11e4c7fd510a42 Steven Price 2020-01-10 309 struct pg_state st; c9465b4ec37a68 Laura Abbott 2014-11-26 310 11e4c7fd510a42 Steven Price 2020-01-10 311 if (info->base_addr < TASK_SIZE_64) 11e4c7fd510a42 Steven Price 2020-01-10 312 end = TASK_SIZE_64; c9465b4ec37a68 Laura Abbott 2014-11-26 313 11e4c7fd510a42 Steven Price 2020-01-10 314 st = (struct pg_state){ 11e4c7fd510a42 Steven Price 2020-01-10 315 .seq = s, 11e4c7fd510a42 Steven Price 2020-01-10 316 .marker = info->markers, 11e4c7fd510a42 Steven Price 2020-01-10 317 .ptdump = { 11e4c7fd510a42 Steven Price 2020-01-10 318 .note_page = note_page, 11e4c7fd510a42 Steven Price 2020-01-10 319 .range = (struct ptdump_range[]){ 11e4c7fd510a42 Steven Price 2020-01-10 320 {info->base_addr, end}, 11e4c7fd510a42 Steven Price 2020-01-10 321 {0, 0} c9465b4ec37a68 Laura Abbott 2014-11-26 322 } a1c76574f34534 Mark Rutland 2015-01-27 323 } c9465b4ec37a68 Laura Abbott 2014-11-26 324 }; c9465b4ec37a68 Laura Abbott 2014-11-26 325 11e4c7fd510a42 Steven Price 2020-01-10 @326 ptdump_walk_pgd(&st.ptdump, info->mm); c9465b4ec37a68 Laura Abbott 2014-11-26 327 } c9465b4ec37a68 Laura Abbott 2014-11-26 328 :::::: The code at line 326 was first introduced by commit :::::: 11e4c7fd510a427518094564bad8b25353f157ca arm64: mm: convert mm/dump.c to use walk_page_range() :::::: TO: Steven Price :::::: CC: Stephen Rothwell --- 0-DAY kernel test infrastructure Open Source Technology Center https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org Intel Corporation