Skip to content

Commit 73029e7

Browse files
rddunlapbp3tk0v
authored andcommitted
x86/cc: Fix enum spelling to fix kernel-doc warnings
Make the enum name in kernel-doc match the code to prevent kernel-doc warnings: Warning: include/linux/cc_platform.h:106 Enum value 'CC_ATTR_GUEST_SEV_SNP' not described in enum 'cc_attr' Warning: include/linux/cc_platform.h:106 Excess enum value '%CC_ATTR_SEV_SNP' description in 'cc_attr' Fixes: f742b90 ("x86/mm: Extend cc_attr to include AMD SEV-SNP") Signed-off-by: Randy Dunlap <rdunlap@infradead.org> Signed-off-by: Borislav Petkov (AMD) <bp@alien8.de> Link: https://patch.msgid.link/20251125022730.3163679-1-rdunlap@infradead.org
1 parent a3e6907 commit 73029e7

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

include/linux/cc_platform.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ enum cc_attr {
7474
CC_ATTR_GUEST_UNROLL_STRING_IO,
7575

7676
/**
77-
* @CC_ATTR_SEV_SNP: Guest SNP is active.
77+
* @CC_ATTR_GUEST_SEV_SNP: Guest SNP is active.
7878
*
7979
* The platform/OS is running as a guest/virtual machine and actively
8080
* using AMD SEV-SNP features.

0 commit comments

Comments
 (0)