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 [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html