* [linux-next:master 12265/12944] arch/riscv/include/asm/pgtable.h:735:16: error: implicit declaration of function 'pud_leaf'; did you mean 'pmd_leaf'?
@ 2024-03-09 1:11 kernel test robot
0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2024-03-09 1:11 UTC (permalink / raw)
To: Peter Xu
Cc: oe-kbuild-all, Linux Memory Management List, Andrew Morton,
Jason Gunthorpe, Mike Rapoport (IBM)
tree: https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git master
head: 8ffc8b1bbd505e27e2c8439d326b6059c906c9dd
commit: 924bd6a8c96767a05323d575bdefd664631dce73 [12265/12944] mm/x86: drop two unnecessary pud_leaf() definitions
config: riscv-randconfig-r042-20230330 (https://download.01.org/0day-ci/archive/20240309/202403090900.OwPqmRuI-lkp@intel.com/config)
compiler: riscv32-linux-gcc (GCC) 13.2.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20240309/202403090900.OwPqmRuI-lkp@intel.com/reproduce)
If you fix the issue in a separate patch/commit (i.e. not just a new version of
the same patch/commit), kindly add following tags
| Reported-by: kernel test robot <lkp@intel.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/202403090900.OwPqmRuI-lkp@intel.com/
All errors (new ones prefixed by >>):
In file included from include/linux/pgtable.h:6,
from include/linux/mm.h:29,
from arch/riscv/kernel/asm-offsets.c:10:
arch/riscv/include/asm/pgtable.h: In function 'pud_user_accessible_page':
>> arch/riscv/include/asm/pgtable.h:735:16: error: implicit declaration of function 'pud_leaf'; did you mean 'pmd_leaf'? [-Werror=implicit-function-declaration]
735 | return pud_leaf(pud) && pud_user(pud);
| ^~~~~~~~
| pmd_leaf
cc1: some warnings being treated as errors
make[3]: *** [scripts/Makefile.build:116: arch/riscv/kernel/asm-offsets.s] Error 1
make[3]: Target 'prepare' not remade because of errors.
make[2]: *** [Makefile:1199: prepare0] Error 2
make[2]: Target 'prepare' not remade because of errors.
make[1]: *** [Makefile:240: __sub-make] Error 2
make[1]: Target 'prepare' not remade because of errors.
make: *** [Makefile:240: __sub-make] Error 2
make: Target 'prepare' not remade because of errors.
vim +735 arch/riscv/include/asm/pgtable.h
3332f419067411 Jisheng Zhang 2021-04-17 732
3fee229a8eb936 Tong Tiangen 2022-05-12 733 static inline bool pud_user_accessible_page(pud_t pud)
3fee229a8eb936 Tong Tiangen 2022-05-12 734 {
3fee229a8eb936 Tong Tiangen 2022-05-12 @735 return pud_leaf(pud) && pud_user(pud);
3fee229a8eb936 Tong Tiangen 2022-05-12 736 }
3fee229a8eb936 Tong Tiangen 2022-05-12 737 #endif
3fee229a8eb936 Tong Tiangen 2022-05-12 738
:::::: The code at line 735 was first introduced by commit
:::::: 3fee229a8eb936b96933c6b2cd02d2e87a4cc997 riscv/mm: enable ARCH_SUPPORTS_PAGE_TABLE_CHECK
:::::: TO: Tong Tiangen <tongtiangen@huawei.com>
:::::: CC: Andrew Morton <akpm@linux-foundation.org>
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2024-03-09 1:12 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-03-09 1:11 [linux-next:master 12265/12944] arch/riscv/include/asm/pgtable.h:735:16: error: implicit declaration of function 'pud_leaf'; did you mean 'pmd_leaf'? kernel test robot
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox