Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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: f742b90e61bb ("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

authored by

Randy Dunlap and committed by
Borislav Petkov (AMD)
73029e73 a3e69071

+1 -1
+1 -1
include/linux/cc_platform.h
··· 74 74 CC_ATTR_GUEST_UNROLL_STRING_IO, 75 75 76 76 /** 77 - * @CC_ATTR_SEV_SNP: Guest SNP is active. 77 + * @CC_ATTR_GUEST_SEV_SNP: Guest SNP is active. 78 78 * 79 79 * The platform/OS is running as a guest/virtual machine and actively 80 80 * using AMD SEV-SNP features.