From: kernel test robot <lkp@intel.com>
To: Sean Christopherson <seanjc@google.com>
Cc: llvm@lists.linux.dev, oe-kbuild-all@lists.linux.dev
Subject: [sean-jc:x86/kvmclock_vs_tsc 10/51] arch/x86/coco/tdx/tdx.c:1210:61: error: expected ';' after return statement
Date: Wed, 10 Jun 2026 13:55:05 +0200 [thread overview]
Message-ID: <202606101300.8YBNIMhl-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-rust (https://download.01.org/0day-ci/archive/20260610/202606101300.8YBNIMhl-lkp@intel.com/config)
compiler: clang version 22.0.0git (https://github.com/llvm/llvm-project f43d6834093b19baf79beda8c0337ab020ac5f17)
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20260610/202606101300.8YBNIMhl-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/202606101300.8YBNIMhl-lkp@intel.com/
All errors (new ones prefixed by >>):
>> arch/x86/coco/tdx/tdx.c:1210:61: error: expected ';' after return statement
1210 | return info.crystal_khz * info.numerator / info.denominator
| ^
| ;
1 error generated.
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
reply other threads:[~2026-06-10 11:55 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=202606101300.8YBNIMhl-lkp@intel.com \
--to=lkp@intel.com \
--cc=llvm@lists.linux.dev \
--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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox