diff options
| author | Randy Dunlap <rdunlap@infradead.org> | 2025-11-24 18:27:30 -0800 |
|---|---|---|
| committer | Borislav Petkov (AMD) <bp@alien8.de> | 2025-11-25 09:17:13 +0100 |
| commit | 73029e73ccd07b64905f441d4f474a9bb91e7027 (patch) | |
| tree | a02c523f451eb855f22b4730f882e1ef1f29beb8 | |
| parent | a3e69071289288e2721ba15254e7c5274eddd05a (diff) | |
| download | tip-x86/sev.tar.gz | |
x86/cc: Fix enum spelling to fix kernel-doc warningsx86_sev_for_v6.19_rc1x86/sev
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
| -rw-r--r-- | include/linux/cc_platform.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/cc_platform.h b/include/linux/cc_platform.h index 7fcec025c5e01d..559353ad64acb1 100644 --- a/include/linux/cc_platform.h +++ b/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. |
