Re: [PATCH] ptp: kvm: Return EOPNOTSUPP instead of ENODEV from kvm_arch_ptp_init()
From: Paolo Abeni
Date: Tue Dec 03 2024 - 04:34:46 EST
On 11/27/24 08:27, Thomas Weißschuh wrote:
> The caller ptp_kvm_init() expects EOPNOTSUPP in case KVMCLOCK is not
> available and not ENODEV.
> Adapt the returned error code to avoid spurious errors in the kernel log:
>
> "fail to initialize ptp_kvm"
>
> Signed-off-by: Thomas Weißschuh <linux@xxxxxxxxxxxxxx>
This looks like a fix worthy for the 'net' tree: please resubmit
selecting the approriate tree in the subj prefix and including a
suitable Fixes tag.
Thanks,
Paolo