Am Donnerstag 19 März 2015, 13:28:56 schrieb Jan Beulich:
> >>> On 19.03.15 at 14:12, <dietmar.h...@ts.fujitsu.com> wrote:
> > Am Dienstag 17 März 2015, 10:54:02 schrieb Boris Ostrovsky:
> >> +    case XENPMU_feature_get:
> > 
> > memset(&pmu_params, 0, sizeof(pmu_params));  ?
> > 
> >> +        pmu_params.val = vpmu_features;
> >> +        if ( copy_field_to_guest(arg, &pmu_params, val) )
> >> +            return -EFAULT;
> 
> Why? Notice the _field_ in the used function's name.
> 
> Jan

Ah, yes, thanks! Sorry for noise.

Dietmar.

> 



_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xen.org
http://lists.xen.org/xen-devel

Reply via email to