* [sean-jc:x86/kvmclock_vs_tsc 10/51] arch/x86/coco/tdx/tdx.c:1210:61: error: expected ';' after return statement
@ 2026-06-10 11:55 kernel test robot
0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2026-06-10 11:55 UTC (permalink / raw)
To: Sean Christopherson; +Cc: llvm, oe-kbuild-all
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
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2026-06-10 11:55 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-06-10 11:55 [sean-jc:x86/kvmclock_vs_tsc 10/51] arch/x86/coco/tdx/tdx.c:1210:61: error: expected ';' after return statement 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