]> git.baikalelectronics.ru Git - kernel.git/commit
x86/sev: Carve out HV call's return value verification
authorBorislav Petkov <bp@suse.de>
Fri, 1 Oct 2021 09:41:05 +0000 (11:41 +0200)
committerBorislav Petkov <bp@suse.de>
Tue, 19 Oct 2021 11:54:47 +0000 (13:54 +0200)
commit7349b21e3b7c3c2ed3ed4f20d559b67ea9adfede
tree4db1e1a0f50f95dc9e7ee10ee73f3f9c5978f900
parent60648e158363166a3a7d3e261a02a19022ea3024
x86/sev: Carve out HV call's return value verification

Carve out the verification of the HV call return value into a separate
helper and make it more readable.

No functional changes.

Signed-off-by: Borislav Petkov <bp@suse.de>
Link: https://lore.kernel.org/r/YVbYWz%2B8J7iMTJjc@zn.tnic
arch/x86/kernel/sev-shared.c