Re: [PATCH 3/5] KVM: MMU: Move gpte_access() out of paging_tmpl.h

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

 



On 09/13/2012 02:48 PM, Xiao Guangrong wrote:
> On 09/12/2012 10:29 PM, Avi Kivity wrote:
> 
>>  static bool FNAME(is_last_gpte)(struct guest_walker *walker,
>>  				struct kvm_vcpu *vcpu, struct kvm_mmu *mmu,
>>  				pt_element_t gpte)
>> @@ -217,7 +206,7 @@ retry_walk:
>> 
>>  		last_gpte = FNAME(is_last_gpte)(walker, vcpu, mmu, pte);
>>  		if (last_gpte) {
>> -			pte_access = pt_access & FNAME(gpte_access)(vcpu, pte);
>> +			pte_access = pt_access & gpte_access(vcpu, pte);
> 
> It can pass 32bit variable to gpte_access without cast, no warning?

No warning.


-- 
error compiling committee.c: too many arguments to function
--
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