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?

--
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

Reply via email to