From: kernel test robot <lkp@intel.com>
To: Sean Christopherson <seanjc@google.com>
Cc: oe-kbuild-all@lists.linux.dev
Subject: [sean-jc:x86/kvmclock_vs_tsc 10/51] arch/x86/coco/tdx/tdx.c:1210:68: error: expected ';' before '}' token
Date: Wed, 10 Jun 2026 10:52:04 +0200 [thread overview]
Message-ID: <202606101015.4bd77SEJ-lkp@intel.com> (raw)
tree: https://github.com/sean-jc/linux x86/kvmclock_vs_tsc
head: 03e00f8b41e58b5dd5ceef21940a62e5d8e08766
commit: 744956b9c18116e3ae2e098633a6a5ee1e144591 [10/51] x86/tdx: Force TSC frequency with CPUID-based info provided by the TDX-Module
config: x86_64-rhel-9.4 (https://download.01.org/0day-ci/archive/20260610/202606101015.4bd77SEJ-lkp@intel.com/config)
compiler: gcc-14 (Debian 14.2.0-19) 14.2.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20260610/202606101015.4bd77SEJ-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/202606101015.4bd77SEJ-lkp@intel.com/
All errors (new ones prefixed by >>):
arch/x86/coco/tdx/tdx.c: In function 'tdx_tsc_init':
>> arch/x86/coco/tdx/tdx.c:1210:68: error: expected ';' before '}' token
1210 | return info.crystal_khz * info.numerator / info.denominator
| ^
| ;
1211 | }
| ~
vim +1210 arch/x86/coco/tdx/tdx.c
1196
1197 unsigned int __init tdx_tsc_init(void)
1198 {
1199 struct cpuid_tsc_info info;
1200
1201 if (WARN_ON_ONCE(cpuid_get_tsc_info(&info) || !info.crystal_khz))
1202 return 0;
1203
1204 apic_set_timer_period_khz(info.crystal_khz, "TDX-Module via CPUID");
1205
1206 /* TSC is the only reliable clock in TDX guest */
1207 setup_force_cpu_cap(X86_FEATURE_TSC_RELIABLE);
1208 setup_force_cpu_cap(X86_FEATURE_TSC_KNOWN_FREQ);
1209
> 1210 return info.crystal_khz * info.numerator / info.denominator
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
next reply other threads:[~2026-06-10 8:52 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-06-10 8:52 kernel test robot [this message]
-- strict thread matches above, loose matches on Subject: below --
2026-06-10 22:13 [sean-jc:x86/kvmclock_vs_tsc 10/51] arch/x86/coco/tdx/tdx.c:1210:68: error: expected ';' before '}' token kernel test robot
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=202606101015.4bd77SEJ-lkp@intel.com \
--to=lkp@intel.com \
--cc=oe-kbuild-all@lists.linux.dev \
--cc=seanjc@google.com \
/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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.