Building the Linux kernel with Clang and LLVM
 help / color / mirror / Atom feed
From: kernel test robot <lkp@intel.com>
To: "Thomas Weißschuh " <thomas.weissschuh@linutronix.de>
Cc: llvm@lists.linux.dev, oe-kbuild-all@lists.linux.dev
Subject: [thomas-weissschuh:b4/vdso-arch-clockmodes 8/9] arch/loongarch/kernel/time.c:216:45: error: unexpected ';' before '}'
Date: Tue, 30 Jun 2026 09:34:27 +0800	[thread overview]
Message-ID: <202606300910.k9oX8NNw-lkp@intel.com> (raw)

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

                 reply	other threads:[~2026-06-30  1:34 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=202606300910.k9oX8NNw-lkp@intel.com \
    --to=lkp@intel.com \
    --cc=llvm@lists.linux.dev \
    --cc=oe-kbuild-all@lists.linux.dev \
    --cc=thomas.weissschuh@linutronix.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox