All of lore.kernel.org
 help / color / mirror / Atom feed
From: kernel test robot <lkp@intel.com>
To: Thomas Gleixner <tglx@linutronix.de>
Cc: oe-kbuild-all@lists.linux.dev
Subject: [tglx-devel:x86/apic 52/58] arch/x86/kernel/kvm.c:828:17: error: implicit declaration of function 'apic_update_callback'
Date: Sun, 23 Jul 2023 07:51:36 +0800	[thread overview]
Message-ID: <202307230718.1ppoP6Z1-lkp@intel.com> (raw)

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/tglx/devel.git x86/apic
head:   11f85db0679f4f37798c648f3028126b6f7c6163
commit: 55cbab9af9e540fbbac9e7235315d03e8b654713 [52/58] x86/apic: Replace acpi_wake_cpu_handler_update() and apic_set_eoi_cb()
config: i386-randconfig-i053-20230721 (https://download.01.org/0day-ci/archive/20230723/202307230718.1ppoP6Z1-lkp@intel.com/config)
compiler: gcc-12 (Debian 12.2.0-14) 12.2.0
reproduce: (https://download.01.org/0day-ci/archive/20230723/202307230718.1ppoP6Z1-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/202307230718.1ppoP6Z1-lkp@intel.com/

All errors (new ones prefixed by >>):

   arch/x86/kernel/kvm.c: In function 'kvm_guest_apic_eoi_write':
   arch/x86/kernel/kvm.c:346:9: error: implicit declaration of function 'apic_native_eoi'; did you mean 'apic_set_eoi'? [-Werror=implicit-function-declaration]
     346 |         apic_native_eoi();
         |         ^~~~~~~~~~~~~~~
         |         apic_set_eoi
   arch/x86/kernel/kvm.c: In function 'kvm_guest_init':
>> arch/x86/kernel/kvm.c:828:17: error: implicit declaration of function 'apic_update_callback' [-Werror=implicit-function-declaration]
     828 |                 apic_update_callback(eoi, kvm_guest_apic_eoi_write);
         |                 ^~~~~~~~~~~~~~~~~~~~
>> arch/x86/kernel/kvm.c:828:38: error: 'eoi' undeclared (first use in this function); did you mean 'efi'?
     828 |                 apic_update_callback(eoi, kvm_guest_apic_eoi_write);
         |                                      ^~~
         |                                      efi
   arch/x86/kernel/kvm.c:828:38: note: each undeclared identifier is reported only once for each function it appears in
   cc1: some warnings being treated as errors


vim +/apic_update_callback +828 arch/x86/kernel/kvm.c

   809	
   810	static void __init kvm_guest_init(void)
   811	{
   812		int i;
   813	
   814		paravirt_ops_setup();
   815		register_reboot_notifier(&kvm_pv_reboot_nb);
   816		for (i = 0; i < KVM_TASK_SLEEP_HASHSIZE; i++)
   817			raw_spin_lock_init(&async_pf_sleepers[i].lock);
   818	
   819		if (kvm_para_has_feature(KVM_FEATURE_STEAL_TIME)) {
   820			has_steal_clock = 1;
   821			static_call_update(pv_steal_clock, kvm_steal_clock);
   822	
   823			pv_ops.lock.vcpu_is_preempted =
   824				PV_CALLEE_SAVE(__kvm_vcpu_is_preempted);
   825		}
   826	
   827		if (kvm_para_has_feature(KVM_FEATURE_PV_EOI))
 > 828			apic_update_callback(eoi, kvm_guest_apic_eoi_write);
   829	
   830		if (kvm_para_has_feature(KVM_FEATURE_ASYNC_PF_INT) && kvmapf) {
   831			static_branch_enable(&kvm_async_pf_enabled);
   832			alloc_intr_gate(HYPERVISOR_CALLBACK_VECTOR, asm_sysvec_kvm_asyncpf_interrupt);
   833		}
   834	

-- 
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki

                 reply	other threads:[~2023-07-22 23:51 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=202307230718.1ppoP6Z1-lkp@intel.com \
    --to=lkp@intel.com \
    --cc=oe-kbuild-all@lists.linux.dev \
    --cc=tglx@linutronix.de \
    /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.