Re: [PATCH v1 25/26] crypto: ccp: Add the SNP_COMMIT command

From: Borislav Petkov
Date: Sun Jan 21 2024 - 07:36:26 EST


On Sat, Dec 30, 2023 at 10:19:53AM -0600, Michael Roth wrote:
> +/**
> + * struct sev_data_snp_commit - SNP_COMMIT structure
> + *
> + * @length: len of the command buffer read by the PSP
> + */
> +struct sev_data_snp_commit {
> + u32 length;
> +} __packed;
> +

diff --git a/include/linux/psp-sev.h b/include/linux/psp-sev.h
index 11af3dd9126d..31b9266b26ce 100644
--- a/include/linux/psp-sev.h
+++ b/include/linux/psp-sev.h
@@ -790,7 +790,7 @@ struct sev_data_snp_shutdown_ex {
/**
* struct sev_data_snp_commit - SNP_COMMIT structure
*
- * @length: len of the command buffer read by the PSP
+ * @length: length of the command buffer read by the PSP
*/
struct sev_data_snp_commit {
u32 length;

--
Regards/Gruss,
Boris.

https://people.kernel.org/tglx/notes-about-netiquette