[kvm:linux-next 16/16] arch/x86/kvm/paging_tmpl.h:154:57: warning: unused variable 'shift'

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



tree:   git://git.kernel.org/pub/scm/virt/kvm/kvm.git linux-next
head:   908e7d7999bcce70ac52e7f390a8f5cbc55948de
commit: 908e7d7999bcce70ac52e7f390a8f5cbc55948de [16/16] KVM: MMU: simplify folding of dirty bit into accessed_dirty
config: make ARCH=x86_64 allmodconfig

All warnings:

In file included from arch/x86/kvm/mmu.c:3482:0:
arch/x86/kvm/paging_tmpl.h: In function 'paging64_walk_addr_generic':
arch/x86/kvm/paging_tmpl.h:154:57: warning: unused variable 'shift' [-Wunused-variable]
In file included from arch/x86/kvm/mmu.c:3486:0:
arch/x86/kvm/paging_tmpl.h: In function 'paging32_walk_addr_generic':
arch/x86/kvm/paging_tmpl.h:154:57: warning: unused variable 'shift' [-Wunused-variable]

vim +/shift +154 arch/x86/kvm/paging_tmpl.h

8cbc7069 arch/x86/kvm/paging_tmpl.h Avi Kivity       2012-09-16  138  		walker->ptes[level] = pte;
8cbc7069 arch/x86/kvm/paging_tmpl.h Avi Kivity       2012-09-16  139  	}
8cbc7069 arch/x86/kvm/paging_tmpl.h Avi Kivity       2012-09-16  140  	return 0;
8cbc7069 arch/x86/kvm/paging_tmpl.h Avi Kivity       2012-09-16  141  }
8cbc7069 arch/x86/kvm/paging_tmpl.h Avi Kivity       2012-09-16  142  
ac79c978 drivers/kvm/paging_tmpl.h  Avi Kivity       2007-01-05  143  /*
ac79c978 drivers/kvm/paging_tmpl.h  Avi Kivity       2007-01-05  144   * Fetch a guest pte for a guest virtual address
ac79c978 drivers/kvm/paging_tmpl.h  Avi Kivity       2007-01-05  145   */
1e301feb arch/x86/kvm/paging_tmpl.h Joerg Roedel     2010-09-10  146  static int FNAME(walk_addr_generic)(struct guest_walker *walker,
1e301feb arch/x86/kvm/paging_tmpl.h Joerg Roedel     2010-09-10  147  				    struct kvm_vcpu *vcpu, struct kvm_mmu *mmu,
33770780 arch/x86/kvm/paging_tmpl.h Xiao Guangrong   2010-09-28  148  				    gva_t addr, u32 access)
6aa8b732 drivers/kvm/paging_tmpl.h  Avi Kivity       2006-12-10  149  {
8cbc7069 arch/x86/kvm/paging_tmpl.h Avi Kivity       2012-09-16  150  	int ret;
42bf3f0a drivers/kvm/paging_tmpl.h  Avi Kivity       2007-10-17  151  	pt_element_t pte;
b7233635 arch/x86/kvm/paging_tmpl.h Borislav Petkov  2011-05-30  152  	pt_element_t __user *uninitialized_var(ptep_user);
cea0f0e7 drivers/kvm/paging_tmpl.h  Avi Kivity       2007-01-05  153  	gfn_t table_gfn;
b514c30f arch/x86/kvm/paging_tmpl.h Avi Kivity       2012-09-16 @154  	unsigned index, pt_access, pte_access, accessed_dirty, shift;
42bf3f0a drivers/kvm/paging_tmpl.h  Avi Kivity       2007-10-17  155  	gpa_t pte_gpa;
134291bf arch/x86/kvm/paging_tmpl.h Takuya Yoshikawa 2011-07-01  156  	int offset;
134291bf arch/x86/kvm/paging_tmpl.h Takuya Yoshikawa 2011-07-01  157  	const int write_fault = access & PFERR_WRITE_MASK;
134291bf arch/x86/kvm/paging_tmpl.h Takuya Yoshikawa 2011-07-01  158  	const int user_fault  = access & PFERR_USER_MASK;
134291bf arch/x86/kvm/paging_tmpl.h Takuya Yoshikawa 2011-07-01  159  	const int fetch_fault = access & PFERR_FETCH_MASK;
134291bf arch/x86/kvm/paging_tmpl.h Takuya Yoshikawa 2011-07-01  160  	u16 errcode = 0;
13d22b6a arch/x86/kvm/paging_tmpl.h Avi Kivity       2012-09-12  161  	gpa_t real_gpa;
13d22b6a arch/x86/kvm/paging_tmpl.h Avi Kivity       2012-09-12  162  	gfn_t gfn;

---
0-DAY kernel build testing backend         Open Source Technology Center
Fengguang Wu, Yuanhan Liu                              Intel Corporation
--
To unsubscribe from this list: send the line "unsubscribe kvm" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [KVM ARM]     [KVM ia64]     [KVM ppc]     [Virtualization Tools]     [Spice Development]     [Libvirt]     [Libvirt Users]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite Questions]     [Linux Kernel]     [Linux SCSI]     [XFree86]
  Powered by Linux