public inbox for kvm@vger.kernel.org
 help / color / mirror / Atom feed
* [kvm:linux-next 3/13] arch/x86/kvm/irq.c:46:18: warning: unused variable 's'
@ 2012-12-14 11:23 kbuild test robot
  2012-12-14 13:11 ` KVM: remove unused variable. " Gleb Natapov
  0 siblings, 1 reply; 3+ messages in thread
From: kbuild test robot @ 2012-12-14 11:23 UTC (permalink / raw)
  To: Gleb Natapov; +Cc: kvm, Marcelo Tosatti

tree:   git://git.kernel.org/pub/scm/virt/kvm/kvm.git linux-next
head:   0f888f5acd0cd806d4fd9f4067276b3855a13309
commit: f3200d00ea42e485772ff92d6d649aa8eeb640c0 [3/13] KVM: inject ExtINT interrupt before APIC interrupts
config: make ARCH=x86_64 allmodconfig

All warnings:

arch/x86/kvm/irq.c: In function 'kvm_cpu_has_interrupt':
arch/x86/kvm/irq.c:46:18: warning: unused variable 's' [-Wunused-variable]
arch/x86/kvm/irq.c: In function 'kvm_cpu_get_interrupt':
arch/x86/kvm/irq.c:63:18: warning: unused variable 's' [-Wunused-variable]

vim +/s +46 arch/x86/kvm/irq.c

85f455f7 drivers/kvm/irq.c  Eddie Dong      2007-07-06  30  /*
3d80840d arch/x86/kvm/irq.c Marcelo Tosatti 2008-04-11  31   * check if there are pending timer events
3d80840d arch/x86/kvm/irq.c Marcelo Tosatti 2008-04-11  32   * to be processed.
3d80840d arch/x86/kvm/irq.c Marcelo Tosatti 2008-04-11  33   */
3d80840d arch/x86/kvm/irq.c Marcelo Tosatti 2008-04-11  34  int kvm_cpu_has_pending_timer(struct kvm_vcpu *vcpu)
3d80840d arch/x86/kvm/irq.c Marcelo Tosatti 2008-04-11  35  {
23e7a794 arch/x86/kvm/irq.c Jason Wang      2010-08-27  36  	return apic_has_pending_timer(vcpu);
3d80840d arch/x86/kvm/irq.c Marcelo Tosatti 2008-04-11  37  }
3d80840d arch/x86/kvm/irq.c Marcelo Tosatti 2008-04-11  38  EXPORT_SYMBOL(kvm_cpu_has_pending_timer);
3d80840d arch/x86/kvm/irq.c Marcelo Tosatti 2008-04-11  39  
3d80840d arch/x86/kvm/irq.c Marcelo Tosatti 2008-04-11  40  /*
85f455f7 drivers/kvm/irq.c  Eddie Dong      2007-07-06  41   * check if there is pending interrupt without
85f455f7 drivers/kvm/irq.c  Eddie Dong      2007-07-06  42   * intack.
85f455f7 drivers/kvm/irq.c  Eddie Dong      2007-07-06  43   */
85f455f7 drivers/kvm/irq.c  Eddie Dong      2007-07-06  44  int kvm_cpu_has_interrupt(struct kvm_vcpu *v)
85f455f7 drivers/kvm/irq.c  Eddie Dong      2007-07-06  45  {
97222cc8 drivers/kvm/irq.c  Eddie Dong      2007-09-12 @46  	struct kvm_pic *s;
97222cc8 drivers/kvm/irq.c  Eddie Dong      2007-09-12  47  
8061823a arch/x86/kvm/irq.c Gleb Natapov    2009-04-21  48  	if (!irqchip_in_kernel(v->kvm))
923c61bb arch/x86/kvm/irq.c Gleb Natapov    2009-05-11  49  		return v->arch.interrupt.pending;
8061823a arch/x86/kvm/irq.c Gleb Natapov    2009-04-21  50  
f3200d00 arch/x86/kvm/irq.c Gleb Natapov    2012-12-10  51  	if (kvm_apic_accept_pic_intr(v) && pic_irqchip(v->kvm)->output)
f3200d00 arch/x86/kvm/irq.c Gleb Natapov    2012-12-10  52  		return pic_irqchip(v->kvm)->output;	/* PIC */
f3200d00 arch/x86/kvm/irq.c Gleb Natapov    2012-12-10  53  
f3200d00 arch/x86/kvm/irq.c Gleb Natapov    2012-12-10  54  	return kvm_apic_has_interrupt(v) != -1;	/* LAPIC */

---
0-DAY kernel build testing backend         Open Source Technology Center
Fengguang Wu, Yuanhan Liu                              Intel Corporation

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2012-12-14 13:23 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-12-14 11:23 [kvm:linux-next 3/13] arch/x86/kvm/irq.c:46:18: warning: unused variable 's' kbuild test robot
2012-12-14 13:11 ` KVM: remove unused variable. " Gleb Natapov
2012-12-14 13:23   ` [PATCH] KVM: remove unused variable Gleb Natapov

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox