Building the Linux kernel with Clang and LLVM
 help / color / mirror / Atom feed
* [thomas-weissschuh:b4/vdso-arch-clockmodes 8/9] arch/loongarch/kernel/time.c:216:45: error: unexpected ';' before '}'
@ 2026-06-30  1:34 kernel test robot
  0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2026-06-30  1:34 UTC (permalink / raw)
  To: Thomas Weißschuh ; +Cc: llvm, oe-kbuild-all

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/thomas.weissschuh/linux.git b4/vdso-arch-clockmodes
head:   eff49b51a77d9c6c1fc86147e587f0305e9f0236
commit: 422d4770226b98d9c78b4bd420adc8bd86b0d450 [8/9] LoongArch: Replace CONFIG_GENERIC_GETTIMEOFDAY ifdeffery with IS_ENABLED()
config: loongarch-allnoconfig (https://download.01.org/0day-ci/archive/20260630/202606300910.k9oX8NNw-lkp@intel.com/config)
compiler: clang version 20.1.8 (https://github.com/llvm/llvm-project 87f0227cb60147a26a1eeb4fb06e3b505e9c7261)
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20260630/202606300910.k9oX8NNw-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/202606300910.k9oX8NNw-lkp@intel.com/

All errors (new ones prefixed by >>):

>> arch/loongarch/kernel/time.c:216:45: error: unexpected ';' before '}'
     216 |                                 VDSO_CLOCKMODE_CPU : VDSO_CLOCKMODE_NONE;
         |                                                                         ^
   1 error generated.


vim +216 arch/loongarch/kernel/time.c

   208	
   209	static struct clocksource clocksource_const = {
   210		.name = "Constant",
   211		.rating = 400,
   212		.read = read_const_counter,
   213		.mask = CLOCKSOURCE_MASK(64),
   214		.flags = CLOCK_SOURCE_IS_CONTINUOUS,
   215		.vdso_clock_mode = IS_ENABLED(CONFIG_GENERIC_GETTIMEOFDAY) ?
 > 216					VDSO_CLOCKMODE_CPU : VDSO_CLOCKMODE_NONE;
   217	};
   218	

--
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:[~2026-06-30  1:34 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-06-30  1:34 [thomas-weissschuh:b4/vdso-arch-clockmodes 8/9] arch/loongarch/kernel/time.c:216:45: error: unexpected ';' before '}' 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