Building the Linux kernel with Clang and LLVM
 help / color / mirror / Atom feed
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 1/51] arch/x86/kernel/jailhouse.c:68:50: error: too few arguments to function call, expected 2, have 1
Date: Wed, 10 Jun 2026 21:29:03 +0800	[thread overview]
Message-ID: <202606102111.oiMD3eO9-lkp@intel.com> (raw)

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

                 reply	other threads:[~2026-06-10 13:30 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=202606102111.oiMD3eO9-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