diff options
| author | Nuno Das Neves <[email protected]> | 2025-02-21 19:56:33 +0000 |
|---|---|---|
| committer | Wei Liu <[email protected]> | 2025-02-22 02:21:45 +0000 |
| commit | 9d8731a1757bef8630cb47e5ae3a1abbcf863e90 (patch) | |
| tree | 09ebca58f585bcb8d456bb5ca0aa1f445eec680e /drivers/clocksource/hyperv_timer.c | |
| parent | drivers/hv: add CPU offlining support (diff) | |
| download | kernel-9d8731a1757bef8630cb47e5ae3a1abbcf863e90.tar.gz kernel-9d8731a1757bef8630cb47e5ae3a1abbcf863e90.zip | |
hyperv: Convert hypercall statuses to linux error codes
Return linux-friendly error codes from hypercall helper functions,
which allows them to be used more flexibly.
Introduce hv_result_to_errno() for this purpose, which also handles
the special value U64_MAX returned from hv_do_hypercall().
Signed-off-by: Nuno Das Neves <[email protected]>
Reviewed-by: Easwar Hariharan <[email protected]>
Reviewed-by: Michael Kelley <[email protected]>
Link: https://lore.kernel.org/r/1740167795-13296-2-git-send-email-nunodasneves@linux.microsoft.com
Signed-off-by: Wei Liu <[email protected]>
Message-ID: <1740167795-13296-2-git-send-email-nunodasneves@linux.microsoft.com>
Diffstat (limited to 'drivers/clocksource/hyperv_timer.c')
0 files changed, 0 insertions, 0 deletions
