RE: [PATCH v5 2/6] ptp: Reorganize ptp_kvm modules to make it arch-independent.

From: Jianyong Wu (Arm Technology China)
Date: Wed Oct 16 2019 - 06:05:44 EST


Hi Paolo,

> -----Original Message-----
> From: Paolo Bonzini <pbonzini@xxxxxxxxxx>
> Sent: Wednesday, October 16, 2019 3:10 PM
> To: Jianyong Wu (Arm Technology China) <Jianyong.Wu@xxxxxxx>;
> netdev@xxxxxxxxxxxxxxx; yangbo.lu@xxxxxxx; john.stultz@xxxxxxxxxx;
> tglx@xxxxxxxxxxxxx; sean.j.christopherson@xxxxxxxxx; maz@xxxxxxxxxx;
> richardcochran@xxxxxxxxx; Mark Rutland <Mark.Rutland@xxxxxxx>;
> will@xxxxxxxxxx; Suzuki Poulose <Suzuki.Poulose@xxxxxxx>
> Cc: linux-kernel@xxxxxxxxxxxxxxx; linux-arm-kernel@xxxxxxxxxxxxxxxxxxx;
> kvmarm@xxxxxxxxxxxxxxxxxxxxx; kvm@xxxxxxxxxxxxxxx; Steve Capper
> <Steve.Capper@xxxxxxx>; Kaly Xin (Arm Technology China)
> <Kaly.Xin@xxxxxxx>; Justin He (Arm Technology China)
> <Justin.He@xxxxxxx>; nd <nd@xxxxxxx>
> Subject: Re: [PATCH v5 2/6] ptp: Reorganize ptp_kvm modules to make it
> arch-independent.
>
> On 15/10/19 12:48, Jianyong Wu wrote:
> > + ret = kvm_arch_ptp_init();
> > + if (!ret)
> > + return -EOPNOTSUPP;
>
> This should be "if (ret)".
>

Yeah, I change this at patch 5/6, but need change it here.

Thanks
Jianyong

> Paolo