Re: [PATCH] KVM: SEV: uapi: fix typo in SEV_RET_INVALID_CONFIG
From: Tom Lendacky
Date: Wed Aug 14 2024 - 09:43:14 EST
On 8/14/24 03:31, Amit Shah wrote:
> From: Amit Shah <amit.shah@xxxxxxx>
>
> "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@xxxxxxxxxx>
> Signed-off-by: Amit Shah <amit.shah@xxxxxxx>
Reviewed-by: Tom Lendacky <thomas.lendacky@xxxxxxx>
> ---
> include/uapi/linux/psp-sev.h | 1 +
> 1 file changed, 1 insertion(+)
>
> diff --git a/include/uapi/linux/psp-sev.h b/include/uapi/linux/psp-sev.h
> index 2289b7c76c59..832c15d9155b 100644
> --- a/include/uapi/linux/psp-sev.h
> +++ b/include/uapi/linux/psp-sev.h
> @@ -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,