* [davidhildenbrand:vm_normal_page_pud 6/10] arch/powerpc/mm/ptdump/ptdump.h:14:1: error: use of 'pgtable_level' with tag type that does not match previous declaration
@ 2025-07-31 11:38 kernel test robot
0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2025-07-31 11:38 UTC (permalink / raw)
To: David Hildenbrand; +Cc: llvm, oe-kbuild-all
tree: https://github.com/davidhildenbrand/linux vm_normal_page_pud
head: ee313117a86878c228f0f2e08821cc5f9d6c6b3a
commit: 14d707b0ff670015a8d5bcb669f5ee83706c5332 [6/10] mm/rmap: convert "enum rmap_level" to "enum pgtable_level"
config: powerpc64-randconfig-003-20250731 (https://download.01.org/0day-ci/archive/20250731/202507311905.pXY6ZhA9-lkp@intel.com/config)
compiler: clang version 22.0.0git (https://github.com/llvm/llvm-project 8f09b03aebb71c154f3bbe725c29e3f47d37c26e)
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20250731/202507311905.pXY6ZhA9-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/202507311905.pXY6ZhA9-lkp@intel.com/
All errors (new ones prefixed by >>):
In file included from arch/powerpc/mm/ptdump/book3s64.c:10:
>> arch/powerpc/mm/ptdump/ptdump.h:14:1: error: use of 'pgtable_level' with tag type that does not match previous declaration
14 | struct pgtable_level {
| ^
include/linux/pgtable.h:1977:6: note: previous use is here
1977 | enum pgtable_level {
| ^
In file included from arch/powerpc/mm/ptdump/book3s64.c:10:
arch/powerpc/mm/ptdump/ptdump.h:20:8: error: use of 'pgtable_level' with tag type that does not match previous declaration
20 | extern struct pgtable_level pg_level[5];
| ^
include/linux/pgtable.h:1977:6: note: previous use is here
1977 | enum pgtable_level {
| ^
>> arch/powerpc/mm/ptdump/book3s64.c:105:1: error: use of 'pgtable_level' with tag type that does not match previous declaration
105 | struct pgtable_level pg_level[5] = {
| ^
include/linux/pgtable.h:1977:6: note: previous use is here
1977 | enum pgtable_level {
| ^
3 errors generated.
--
In file included from arch/powerpc/mm/ptdump/ptdump.c:30:
>> arch/powerpc/mm/ptdump/ptdump.h:14:1: error: use of 'pgtable_level' with tag type that does not match previous declaration
14 | struct pgtable_level {
| ^
include/linux/pgtable.h:1977:6: note: previous use is here
1977 | enum pgtable_level {
| ^
In file included from arch/powerpc/mm/ptdump/ptdump.c:30:
arch/powerpc/mm/ptdump/ptdump.h:20:8: error: use of 'pgtable_level' with tag type that does not match previous declaration
20 | extern struct pgtable_level pg_level[5];
| ^
include/linux/pgtable.h:1977:6: note: previous use is here
1977 | enum pgtable_level {
| ^
2 errors generated.
vim +/pgtable_level +14 arch/powerpc/mm/ptdump/ptdump.h
97026b5a5ac2654 arch/powerpc/mm/dump_linuxpagetables.h Christophe Leroy 2018-10-09 13
97026b5a5ac2654 arch/powerpc/mm/dump_linuxpagetables.h Christophe Leroy 2018-10-09 @14 struct pgtable_level {
97026b5a5ac2654 arch/powerpc/mm/dump_linuxpagetables.h Christophe Leroy 2018-10-09 15 const struct flag_info *flag;
97026b5a5ac2654 arch/powerpc/mm/dump_linuxpagetables.h Christophe Leroy 2018-10-09 16 size_t num;
97026b5a5ac2654 arch/powerpc/mm/dump_linuxpagetables.h Christophe Leroy 2018-10-09 17 u64 mask;
97026b5a5ac2654 arch/powerpc/mm/dump_linuxpagetables.h Christophe Leroy 2018-10-09 18 };
97026b5a5ac2654 arch/powerpc/mm/dump_linuxpagetables.h Christophe Leroy 2018-10-09 19
:::::: The code at line 14 was first introduced by commit
:::::: 97026b5a5ac26541b3d294146f5c941491a9e609 powerpc/mm: Split dump_pagelinuxtables flag_array table
:::::: TO: Christophe Leroy <christophe.leroy@c-s.fr>
:::::: CC: Michael Ellerman <mpe@ellerman.id.au>
--
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:[~2025-07-31 11:38 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-07-31 11:38 [davidhildenbrand:vm_normal_page_pud 6/10] arch/powerpc/mm/ptdump/ptdump.h:14:1: error: use of 'pgtable_level' with tag type that does not match previous declaration 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;
as well as URLs for NNTP newsgroup(s).