summaryrefslogtreecommitdiff
path: root/kernel/auditsc.c
diff options
context:
space:
mode:
authorBorislav Petkov (AMD) <bp@alien8.de>2023-02-15 13:39:41 +0300
committerBorislav Petkov (AMD) <bp@alien8.de>2023-03-13 13:27:10 +0300
commit970ab823743fb54b42002ec76c51481f67436444 (patch)
tree320aa2eae62a9e750a525f464871e375d0154099 /kernel/auditsc.c
parentd6fd48eff7506bb866a54e40369df8899f2078a9 (diff)
downloadlinux-970ab823743fb54b42002ec76c51481f67436444.tar.xz
virt/coco/sev-guest: Simplify extended guest request handling
Return a specific error code - -ENOSPC - to signal the too small cert data buffer instead of checking exit code and exitinfo2. While at it, hoist the *fw_err assignment in snp_issue_guest_request() so that a proper error value is returned to the callers. [ Tom: check override_err instead of err. ] Signed-off-by: Borislav Petkov (AMD) <bp@alien8.de> Signed-off-by: Tom Lendacky <thomas.lendacky@amd.com> Signed-off-by: Borislav Petkov (AMD) <bp@alien8.de> Link: https://lore.kernel.org/r/20230307192449.24732-4-bp@alien8.de
Diffstat (limited to 'kernel/auditsc.c')
0 files changed, 0 insertions, 0 deletions