Building the Linux kernel with Clang and LLVM
 help / color / mirror / Atom feed
* [dwmw2:vmclock 22/23] ./usr/include/linux/vmclock.h:43:8: error: redefinition of 'vmclock_abi'
@ 2024-06-23 20:54 kernel test robot
  0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2024-06-23 20:54 UTC (permalink / raw)
  To: David Woodhouse; +Cc: llvm, oe-kbuild-all

tree:   git://git.infradead.org/users/dwmw2/linux vmclock
head:   82fa887512d4454c5688220793d2696a8ad00710
commit: c7b4ad8c548d23293f55a82d7147a4a6440f7c69 [22/23] ptp: Add vDSO-style vmclock support
config: x86_64-buildonly-randconfig-004-20240623 (https://download.01.org/0day-ci/archive/20240624/202406240430.BsnyDimG-lkp@intel.com/config)
compiler: clang version 18.1.5 (https://github.com/llvm/llvm-project 617a15a9eac96088ae5e9134248d8236e34b91b1)
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20240624/202406240430.BsnyDimG-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/202406240430.BsnyDimG-lkp@intel.com/

All errors (new ones prefixed by >>):

   In file included from <built-in>:2:
>> ./usr/include/linux/vmclock.h:43:8: error: redefinition of 'vmclock_abi'
      43 | struct vmclock_abi {
         |        ^
   <built-in>:1:10: note: './usr/include/linux/vmclock.h' included multiple times, additional include site here
       1 | #include "usr/include/linux/vmclock.h"
         |          ^
   <built-in>:2:10: note: './usr/include/linux/vmclock.h' included multiple times, additional include site here
       2 | #include "usr/include/linux/vmclock.h"
         |          ^
   ./usr/include/linux/vmclock.h:43:8: note: unguarded header; consider using #ifdef guards or #pragma once
      43 | struct vmclock_abi {
         |        ^
   1 error generated.

-- 
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-06-23 20:54 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-06-23 20:54 [dwmw2:vmclock 22/23] ./usr/include/linux/vmclock.h:43:8: error: redefinition of 'vmclock_abi' 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