diff options
author | 2025-02-25 21:39:37 +0000 | |
---|---|---|
committer | 2025-02-25 16:30:00 -0800 | |
commit | c3392d0ab714d812009b686666cc5e9ef8c6a432 (patch) | |
tree | a3c42954cc382cba93d424b627e880200a0822de /scripts/lib/kdoc/kdoc_files.py | |
parent | KVM: SVM: Convert plain error code numbers to defines (diff) | |
download | linux-rng-c3392d0ab714d812009b686666cc5e9ef8c6a432.tar.xz linux-rng-c3392d0ab714d812009b686666cc5e9ef8c6a432.zip |
KVM: SVM: Provide helpers to set the error code
Provide helpers to set the error code when converting VMGEXIT SW_EXITINFO1 and
SW_EXITINFO2 codes from plain numbers to proper defines. Add comments for
better code readability.
No functionality changed.
Suggested-by: Sean Christopherson <seanjc@google.com>
Signed-off-by: Melody Wang <huibo.wang@amd.com>
Link: https://lore.kernel.org/r/20250225213937.2471419-3-huibo.wang@amd.com
[sean: tweak comments, fix formatting goofs]
Signed-off-by: Sean Christopherson <seanjc@google.com>
Diffstat (limited to 'scripts/lib/kdoc/kdoc_files.py')
0 files changed, 0 insertions, 0 deletions