Messages in this thread Patch in this message |  | | From | Randy Dunlap <> | | Subject | [PATCH] x86/cc: fix enum spelling to fix kernel-doc warnings | | Date | Mon, 24 Nov 2025 18:27:30 -0800 |
| |
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> --- Cc: Brijesh Singh <brijesh.singh@amd.com> Cc: Borislav Petkov <bp@alien8.de> Cc: x86@kernel.org --- include/linux/cc_platform.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
--- linux-next-20251016.orig/include/linux/cc_platform.h +++ linux-next-20251016/include/linux/cc_platform.h @@ -74,7 +74,7 @@ enum cc_attr { CC_ATTR_GUEST_UNROLL_STRING_IO, /** - * @CC_ATTR_SEV_SNP: Guest SNP is active. + * @CC_ATTR_GUEST_SEV_SNP: Guest SNP is active. * * The platform/OS is running as a guest/virtual machine and actively * using AMD SEV-SNP features.
|  |