]> git.dujemihanovic.xyz Git - linux.git/commitdiff
KVM: SEV: uapi: fix typo in SEV_RET_INVALID_CONFIG
authorAmit Shah <amit.shah@amd.com>
Wed, 14 Aug 2024 08:31:13 +0000 (10:31 +0200)
committerPaolo Bonzini <pbonzini@redhat.com>
Wed, 14 Aug 2024 17:05:42 +0000 (13:05 -0400)
"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.

Fix-suggested-by: Marc Zyngier <maz@kernel.org>
Signed-off-by: Amit Shah <amit.shah@amd.com>
Message-ID: <20240814083113.21622-1-amit@kernel.org>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
include/uapi/linux/psp-sev.h

index 2289b7c76c59aa946abd4375322fdb45ec456008..832c15d9155bdbb95827c3e8214da066efe0f55e 100644 (file)
@@ -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,