summaryrefslogtreecommitdiff
path: root/drivers/firmware/dmi-sysfs.c
diff options
context:
space:
mode:
authorJon Hunter <jonathanh@nvidia.com>2021-04-20 16:24:19 +0300
committerMarc Zyngier <maz@kernel.org>2021-04-20 19:17:55 +0300
commita86ed2cfa13c5175eb082c50a644f6bf29ac65cc (patch)
tree3864cb568a5d6558eb2e454aec95bcf91d94c827 /drivers/firmware/dmi-sysfs.c
parent127ce0b14133f48a5635faa9dac69a3a99f85146 (diff)
downloadlinux-a86ed2cfa13c5175eb082c50a644f6bf29ac65cc.tar.xz
ptp: Don't print an error if ptp_kvm is not supported
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@nvidia.com> Acked-by: Richard Cochran <richardcochran@gmail.com> Signed-off-by: Marc Zyngier <maz@kernel.org> Link: https://lore.kernel.org/r/20210420132419.1318148-1-jonathanh@nvidia.com
Diffstat (limited to 'drivers/firmware/dmi-sysfs.c')
0 files changed, 0 insertions, 0 deletions