Building the Linux kernel with Clang and LLVM
 help / color / mirror / Atom feed
* [thomas-weissschuh:vdso/store 13/36] arch/x86/entry/vdso/vma.c:30:55: error: use of undeclared identifier '__VDSO_PAGE'
@ 2024-12-16  9:38 kernel test robot
  0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2024-12-16  9:38 UTC (permalink / raw)
  To: Thomas Weißschuh; +Cc: llvm, oe-kbuild-all, Nam Cao

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/thomas.weissschuh/linux.git vdso/store
head:   8396bbdb0f7357abccd51ab36a9834e607916f0f
commit: da4610ff3ae69ef2ca17ff5836e8d30944641d57 [13/36] x86: vdso: Switch to generic storage implementation
config: x86_64-buildonly-randconfig-003-20241216 (https://download.01.org/0day-ci/archive/20241216/202412161706.o1XMneTv-lkp@intel.com/config)
compiler: clang version 19.1.3 (https://github.com/llvm/llvm-project ab51eccf88f5321e7c60591c5546b254b6afab99)
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20241216/202412161706.o1XMneTv-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/202412161706.o1XMneTv-lkp@intel.com/

All errors (new ones prefixed by >>):

   In file included from arch/x86/entry/vdso/vma.c:7:
   In file included from include/linux/mm.h:2223:
   include/linux/vmstat.h:518:36: warning: arithmetic between different enumeration types ('enum node_stat_item' and 'enum lru_list') [-Wenum-enum-conversion]
     518 |         return node_stat_name(NR_LRU_BASE + lru) + 3; // skip "nr_"
         |                               ~~~~~~~~~~~ ^ ~~~
>> arch/x86/entry/vdso/vma.c:30:55: error: use of undeclared identifier '__VDSO_PAGE'
      30 | static_assert(VDSO_NR_PAGES + VDSO_NR_VCLOCK_PAGES == __VDSO_PAGE);
         |                                                       ^
   1 warning and 1 error generated.


vim +/__VDSO_PAGE +30 arch/x86/entry/vdso/vma.c

    29	
  > 30	static_assert(VDSO_NR_PAGES + VDSO_NR_VCLOCK_PAGES == __VDSO_PAGE);
    31	

-- 
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-12-16  9:38 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-12-16  9:38 [thomas-weissschuh:vdso/store 13/36] arch/x86/entry/vdso/vma.c:30:55: error: use of undeclared identifier '__VDSO_PAGE' 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