Skip to contentSkip to conversation

KVM: SEV: uapi: fix typo in SEV_RET_INVALID_CONFIG

PATCH Applied Amit Shah 4 participants 4 messages Aug 14, 2024

Subsystems (3)
lore
Share & tools
lore

Amit Shah

author
#0 lore raw

PATCH 1/1 KVM: SEV: uapi: fix typo in SEV_RET_INVALID_CONFIG

From: Amit Shah <[email protected]>

"INVALID" is misspelt in "SEV_RET_INAVLID_CONFIG". Since this is part of the UAPI, keep the current definition and add a new one with the fix.

---
 include/uapi/linux/psp-sev.h | 1 +
 1 file changed, 1 insertion(+)
include/uapi/linux/psp-sev.h +1 -0
index 2289b7c76c59..832c15d9155b 100644
@@ -51,6 +51,7 @@ typedef enum {
 	SEV_RET_INVALID_PLATFORM_STATE,
 	SEV_RET_INVALID_GUEST_STATE,
 	SEV_RET_INAVLID_CONFIG,
+	SEV_RET_INVALID_CONFIG = SEV_RET_INAVLID_CONFIG,
 	SEV_RET_INVALID_LEN,
 	SEV_RET_ALREADY_OWNED,
 	SEV_RET_INVALID_CERTIFICATE,
Signature · 1 line
2.46.0
Reviewed-by on v1 1/1
#1 lore raw
Quoted 7 lines

From: Amit Shah <[email protected]>

"INVALID" is misspelt in "SEV_RET_INAVLID_CONFIG". Since this is part of the UAPI, keep the current definition and add a new one with the fix.

Quoted 16 lines
---
  include/uapi/linux/psp-sev.h | 1 +
  1 file changed, 1 insertion(+)
include/uapi/linux/psp-sev.h +1 -0
index 2289b7c76c59..832c15d9155b 100644
@@ -51,6 +51,7 @@ typedef enum {
  	SEV_RET_INVALID_PLATFORM_STATE,
  	SEV_RET_INVALID_GUEST_STATE,
  	SEV_RET_INAVLID_CONFIG,
+	SEV_RET_INVALID_CONFIG = SEV_RET_INAVLID_CONFIG,
  	SEV_RET_INVALID_LEN,
  	SEV_RET_ALREADY_OWNED,
  	SEV_RET_INVALID_CERTIFICATE,
maintainer Reviewed-by on v1 1/1
#2 lore raw
In reply to Amit Shah
Quoted 7 lines · Amit Shah

From: Amit Shah <[email protected]>

"INVALID" is misspelt in "SEV_RET_INAVLID_CONFIG". Since this is part of the UAPI, keep the current definition and add a new one with the fix.

Quoted 16 lines
---
 include/uapi/linux/psp-sev.h | 1 +
 1 file changed, 1 insertion(+)
include/uapi/linux/psp-sev.h +1 -0
index 2289b7c76c59..832c15d9155b 100644
@@ -51,6 +51,7 @@ typedef enum {
 	SEV_RET_INVALID_PLATFORM_STATE,
 	SEV_RET_INVALID_GUEST_STATE,
 	SEV_RET_INAVLID_CONFIG,
+	SEV_RET_INVALID_CONFIG = SEV_RET_INAVLID_CONFIG,
 	SEV_RET_INVALID_LEN,
 	SEV_RET_ALREADY_OWNED,
 	SEV_RET_INVALID_CERTIFICATE,