* [PATCH] KVM: SEV: uapi: fix typo in SEV_RET_INVALID_CONFIG
@ 2024-08-14 8:31 Amit Shah
2024-08-14 10:24 ` Gupta, Pankaj
` (2 more replies)
0 siblings, 3 replies; 4+ messages in thread
From: Amit Shah @ 2024-08-14 8:31 UTC (permalink / raw)
To: seanjc, pbonzini, x86, kvm, linux-kernel, linux-crypto
Cc: amit.shah, bp, ashish.kalra, thomas.lendacky, maz
From: Amit Shah <amit.shah@amd.com>
"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>
---
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,
--
2.46.0
^ permalink raw reply related [flat|nested] 4+ messages in thread* Re: [PATCH] KVM: SEV: uapi: fix typo in SEV_RET_INVALID_CONFIG
2024-08-14 8:31 [PATCH] KVM: SEV: uapi: fix typo in SEV_RET_INVALID_CONFIG Amit Shah
@ 2024-08-14 10:24 ` Gupta, Pankaj
2024-08-14 13:42 ` Tom Lendacky
2024-08-14 17:06 ` Paolo Bonzini
2 siblings, 0 replies; 4+ messages in thread
From: Gupta, Pankaj @ 2024-08-14 10:24 UTC (permalink / raw)
To: Amit Shah, seanjc, pbonzini, x86, kvm, linux-kernel, linux-crypto
Cc: amit.shah, bp, ashish.kalra, thomas.lendacky, maz
> From: Amit Shah <amit.shah@amd.com>
>
> "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>
Reviewed-by: Pankaj Gupta <pankaj.gupta@amd.com>
> ---
> 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,
^ permalink raw reply [flat|nested] 4+ messages in thread* Re: [PATCH] KVM: SEV: uapi: fix typo in SEV_RET_INVALID_CONFIG
2024-08-14 8:31 [PATCH] KVM: SEV: uapi: fix typo in SEV_RET_INVALID_CONFIG Amit Shah
2024-08-14 10:24 ` Gupta, Pankaj
@ 2024-08-14 13:42 ` Tom Lendacky
2024-08-14 17:06 ` Paolo Bonzini
2 siblings, 0 replies; 4+ messages in thread
From: Tom Lendacky @ 2024-08-14 13:42 UTC (permalink / raw)
To: Amit Shah, seanjc, pbonzini, x86, kvm, linux-kernel, linux-crypto
Cc: amit.shah, bp, ashish.kalra, maz
On 8/14/24 03:31, Amit Shah wrote:
> From: Amit Shah <amit.shah@amd.com>
>
> "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>
Reviewed-by: Tom Lendacky <thomas.lendacky@amd.com>
> ---
> 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,
^ permalink raw reply [flat|nested] 4+ messages in thread* Re: [PATCH] KVM: SEV: uapi: fix typo in SEV_RET_INVALID_CONFIG
2024-08-14 8:31 [PATCH] KVM: SEV: uapi: fix typo in SEV_RET_INVALID_CONFIG Amit Shah
2024-08-14 10:24 ` Gupta, Pankaj
2024-08-14 13:42 ` Tom Lendacky
@ 2024-08-14 17:06 ` Paolo Bonzini
2 siblings, 0 replies; 4+ messages in thread
From: Paolo Bonzini @ 2024-08-14 17:06 UTC (permalink / raw)
To: Amit Shah
Cc: seanjc, x86, kvm, linux-kernel, linux-crypto, amit.shah, bp,
ashish.kalra, thomas.lendacky, maz
On Wed, Aug 14, 2024 at 10:31 AM Amit Shah <amit@kernel.org> wrote:
>
> From: Amit Shah <amit.shah@amd.com>
>
> "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>
Queued, thanks.
Paolo
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2024-08-14 17:06 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-08-14 8:31 [PATCH] KVM: SEV: uapi: fix typo in SEV_RET_INVALID_CONFIG Amit Shah
2024-08-14 10:24 ` Gupta, Pankaj
2024-08-14 13:42 ` Tom Lendacky
2024-08-14 17:06 ` Paolo Bonzini
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox