[tip: x86/sev] x86/sev: Fix error message in runtime #VC handler

tip-bot2 for Joerg Roedel
2021-06-15T10:52:08Z

The following commit has been merged into the x86/sev branch of tip:

Commit-ID: 4aca2d99fd27698cf82d55aed4859fde859082ac
Gitweb: https://git.kernel.org/tip/4aca2d99fd27698cf82d55aed4859fde859082ac
Author: Joerg Roedel <jroedel@suse.de>
AuthorDate: Wed, 19 May 2021 15:52:47 +02:00
Committer: Borislav Petkov <bp@suse.de>
CommitterDate: Tue, 15 Jun 2021 11:24:07 +02:00

x86/sev: Fix error message in runtime #VC handler

The runtime #VC handler is not "early" anymore. Fix the copy&paste error
and remove that word from the error message.

Signed-off-by: Joerg Roedel <jroedel@suse.de>
Signed-off-by: Borislav Petkov <bp@suse.de>
Link: https://lkml.kernel.org/r/20210614135327.9921-2-joro@8bytes.org
---
arch/x86/kernel/sev.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/arch/x86/kernel/sev.c b/arch/x86/kernel/sev.c
index 651b81c..4fd997b 100644
--- a/arch/x86/kernel/sev.c
+++ b/arch/x86/kernel/sev.c
@@ -1369,7 +1369,7 @@ DEFINE_IDTENTRY_VC_SAFE_STACK(exc_vmm_communication)
vc_finish_insn(&ctxt);
break;
case ES_UNSUPPORTED:
- pr_err_ratelimited("Unsupported exit-code 0x%02lx in early #VC exception (IP: 0x%lx)\n",
+ pr_err_ratelimited("Unsupported exit-code 0x%02lx in #VC exception (IP: 0x%lx)\n",
error_code, regs->ip);
goto fail;