diff options
author | Thomas Weißschuh <[email protected]> | 2024-12-03 18:09:55 +0100 |
---|---|---|
committer | Jakub Kicinski <[email protected]> | 2024-12-06 17:38:11 -0800 |
commit | 5e7aa97c7acf171275ac02a8bb018c31b8918d13 (patch) | |
tree | e0a6cb7f3db15d50db88b87e40a8e9086b1ede45 /drivers/fpga/fpga-mgr.c | |
parent | bd0c9070436da98a64f734046b36784eb02e997d (diff) |
ptp: kvm: x86: Return EOPNOTSUPP instead of ENODEV from kvm_arch_ptp_init()
The caller, ptp_kvm_init(), emits a warning if kvm_arch_ptp_init() exits
with any error which is not EOPNOTSUPP:
"fail to initialize ptp_kvm"
Replace ENODEV with EOPNOTSUPP to avoid this spurious warning,
aligning with the ARM implementation.
Fixes: a86ed2cfa13c ("ptp: Don't print an error if ptp_kvm is not supported")
Signed-off-by: Thomas Weißschuh <[email protected]>
Link: https://patch.msgid.link/[email protected]
Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'drivers/fpga/fpga-mgr.c')
0 files changed, 0 insertions, 0 deletions