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

Borislav Petkov
2024-01-21T12:36:01Z

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.