Building the Linux kernel with Clang and LLVM
 help / color / mirror / Atom feed
* [sean-jc:x86/kvmclock_vs_tsc 1/51] arch/x86/kernel/jailhouse.c:68:50: error: too few arguments to function call, expected 2, have 1
@ 2026-06-10 13:29 kernel test robot
  0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2026-06-10 13:29 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: e3916a6bfe7c4342989909ff0109708bda8ed516 [1/51] x86/apic: Provide helpers to set local APIC timer period in hz and khz
config: x86_64-randconfig-005-20260610 (https://download.01.org/0day-ci/archive/20260610/202606102111.oiMD3eO9-lkp@intel.com/config)
compiler: clang version 22.1.3 (https://github.com/llvm/llvm-project e9846648fd6183ee6d8cbdb4502213fcf902a211)
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20260610/202606102111.oiMD3eO9-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/202606102111.oiMD3eO9-lkp@intel.com/

All errors (new ones prefixed by >>):

>> arch/x86/kernel/jailhouse.c:68:50: error: too few arguments to function call, expected 2, have 1
      68 |         apic_set_timer_period_khz(setup_data.v1.apic_khz);
         |         ~~~~~~~~~~~~~~~~~~~~~~~~~                       ^
   arch/x86/include/asm/apic.h:141:13: note: 'apic_set_timer_period_khz' declared here
     141 | extern void apic_set_timer_period_khz(u64 period_khz, const char *source);
         |             ^                         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   1 error generated.


vim +68 arch/x86/kernel/jailhouse.c

    65	
    66	static void __init jailhouse_timer_init(void)
    67	{
  > 68		apic_set_timer_period_khz(setup_data.v1.apic_khz);
    69	}
    70	

--
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 13:30 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-06-10 13:29 [sean-jc:x86/kvmclock_vs_tsc 1/51] arch/x86/kernel/jailhouse.c:68:50: error: too few arguments to function call, expected 2, have 1 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