* [peterz-queue:master 18/21] include/asm-generic/tlb.h:638:3: error: implicit declaration of function '__pmd_free_tlb'; did you mean
@ 2021-02-26 17:27 kernel test robot
0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2021-02-26 17:27 UTC (permalink / raw)
To: kbuild-all
[-- Attachment #1: Type: text/plain, Size: 4849 bytes --]
tree: https://git.kernel.org/pub/scm/linux/kernel/git/peterz/queue.git master
head: 0ebd1bc6e7c02d49a3d4f5d117321074fd962284
commit: fc1812c7d083b410a90b8f17bdaec13cac41bff2 [18/21] Merge branch 'mm/tlb'
config: parisc-randconfig-r015-20210226 (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/?id=fc1812c7d083b410a90b8f17bdaec13cac41bff2
git remote add peterz-queue https://git.kernel.org/pub/scm/linux/kernel/git/peterz/queue.git
git fetch --no-tags peterz-queue master
git checkout fc1812c7d083b410a90b8f17bdaec13cac41bff2
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-9.3.0 make.cross ARCH=parisc
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 >>):
In file included from mm/memory.c:81:
arch/parisc/include/asm/pgalloc.h: In function '__pmd_free':
arch/parisc/include/asm/pgalloc.h:60:1: error: no return statement in function returning non-void [-Werror=return-type]
60 | }
| ^
In file included from arch/parisc/include/asm/tlb.h:5,
from mm/memory.c:83:
mm/memory.c: In function 'free_pmd_range':
>> include/asm-generic/tlb.h:638:3: error: implicit declaration of function '__pmd_free_tlb'; did you mean 'pmd_free_tlb'? [-Werror=implicit-function-declaration]
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);
| ^~~~~~~~~~~~
mm/memory.c: In function 'verify_page_range':
mm/memory.c:2594:2: error: expected ',' or ';' before 'return'
2594 | return apply_to_page_range(mm, addr, size, vpr_fn, &vpr);
| ^~~~~~
mm/memory.c:2590:18: warning: unused variable 'vpr' [-Wunused-variable]
2590 | struct vpr_data vpr = {
| ^~~
mm/memory.c: In function '__pmd_alloc':
>> mm/memory.c:4662:3: error: implicit declaration of function 'pmd_free'; did you mean 'pgd_free'? [-Werror=implicit-function-declaration]
4662 | pmd_free(mm, new);
| ^~~~~~~~
| pgd_free
mm/memory.c: In function 'verify_page_range':
mm/memory.c:2595:1: error: control reaches end of non-void function [-Werror=return-type]
2595 | }
| ^
At top level:
mm/memory.c:2579:12: warning: 'vpr_fn' defined but not used [-Wunused-function]
2579 | static int vpr_fn(pte_t *pte, unsigned long addr, void *data)
| ^~~~~~
cc1: some warnings being treated as errors
--
In file included from mm/mmu_gather.c:11:
arch/parisc/include/asm/pgalloc.h: In function '__pmd_free':
arch/parisc/include/asm/pgalloc.h:60:1: error: no return statement in function returning non-void [-Werror=return-type]
60 | }
| ^
mm/mmu_gather.c: In function '__tlb_remove_table_free':
>> mm/mmu_gather.c:101:3: error: implicit declaration of function '__tlb_remove_table'; did you mean 'tlb_remove_table'? [-Werror=implicit-function-declaration]
101 | __tlb_remove_table(batch->tables[i]);
| ^~~~~~~~~~~~~~~~~~
| tlb_remove_table
cc1: some warnings being treated as errors
vim +638 include/asm-generic/tlb.h
^1da177e4c3f41 Linus Torvalds 2005-04-16 632
a90744bac57c3c Nicholas Piggin 2018-07-13 633 #ifndef pmd_free_tlb
048456dcf2c56a Kirill A. Shutemov 2017-03-09 634 #define pmd_free_tlb(tlb, pmdp, address) \
048456dcf2c56a Kirill A. Shutemov 2017-03-09 635 do { \
2631ed00b04988 Peter Zijlstra (Intel 2020-06-25 636) tlb_flush_pud_range(tlb, address, PAGE_SIZE); \
22a61c3c4f1379 Peter Zijlstra 2018-08-23 637 tlb->freed_tables = 1; \
048456dcf2c56a Kirill A. Shutemov 2017-03-09 @638 __pmd_free_tlb(tlb, pmdp, address); \
048456dcf2c56a Kirill A. Shutemov 2017-03-09 639 } while (0)
a90744bac57c3c Nicholas Piggin 2018-07-13 640 #endif
048456dcf2c56a Kirill A. Shutemov 2017-03-09 641
:::::: The code at line 638 was first introduced by commit
:::::: 048456dcf2c56ad6f6248e2899dda92fb6a613f6 asm-generic: introduce <asm-generic/pgtable-nop4d.h>
:::::: TO: Kirill A. Shutemov <kirill.shutemov@linux.intel.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
[-- Attachment #2: config.gz --]
[-- Type: application/gzip, Size: 21161 bytes --]
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2021-02-26 17:27 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-02-26 17:27 [peterz-queue:master 18/21] include/asm-generic/tlb.h:638:3: error: implicit declaration of function '__pmd_free_tlb'; did you mean 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.