[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20210420141013.GB1261@hoboy.vegasvil.org>
Date: Tue, 20 Apr 2021 07:10:13 -0700
From: Richard Cochran <richardcochran@...il.com>
To: Jon Hunter <jonathanh@...dia.com>
Cc: netdev@...r.kernel.org, linux-kernel@...r.kernel.org,
linux-tegra@...r.kernel.org, Jianyong Wu <jianyong.wu@....com>,
Marc Zyngier <maz@...nel.org>
Subject: Re: [PATCH] ptp: Don't print an error if ptp_kvm is not supported
On Tue, Apr 20, 2021 at 02:24:19PM +0100, Jon Hunter wrote:
> Commit 300bb1fe7671 ("ptp: arm/arm64: Enable ptp_kvm for arm/arm64")
> enable ptp_kvm support for ARM platforms and for any ARM platform that
> does not support this, the following error message is displayed ...
>
> ERR KERN fail to initialize ptp_kvm
>
> For platforms that do not support ptp_kvm this error is a bit misleading
> and so fix this by only printing this message if the error returned by
> kvm_arch_ptp_init() is not -EOPNOTSUPP. Note that -EOPNOTSUPP is only
> returned by ARM platforms today if ptp_kvm is not supported.
>
> Fixes: 300bb1fe7671 ("ptp: arm/arm64: Enable ptp_kvm for arm/arm64")
> Signed-off-by: Jon Hunter <jonathanh@...dia.com>
Acked-by: Richard Cochran <richardcochran@...il.com>
Powered by blists - more mailing lists