On Mon, Apr 16, 2012 at 06:54:50PM +0200, Alexander Graf wrote:
>
> Yeah :(. I already have this patch in my tree to fix that:
...
>         case KVM_REG_PPC_HIOR:
> -               r = put_user(to_book3s(vcpu)->hior,
> -                            (u64 __user *)(long)reg->addr);
> +               r = copy_to_user((u64 __user *)(long)reg->addr,
> +                               &to_book3s(vcpu)->hior, sizeof(u64));

I folded this in with your other patch that touches these lines and
sent it to Avi, and it is in Linus' tree as b8e6f8ae51.

Paul.
--
To unsubscribe from this list: send the line "unsubscribe kvm-ppc" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to