[PATCH] x86/sgx: fix enum kernel-doc notation
From: Randy Dunlap
Date: Sat Nov 15 2025 - 00:54:42 EST
Use "@name" instead of "%name" to describe members of an enum. This
prevents a kernel-doc warning:
WARNING: arch/x86/include/uapi/asm/sgx.h:17 Enum value
'SGX_PAGE_MEASURE' not described in enum 'sgx_page_flags'
Signed-off-by: Randy Dunlap <rdunlap@xxxxxxxxxxxxx>
---
Cc: Jarkko Sakkinen <jarkko@xxxxxxxxxx>
Cc: Dave Hansen <dave.hansen@xxxxxxxxxxxxxxx>
Cc: linux-sgx@xxxxxxxxxxxxxxx
Cc: x86@xxxxxxxxxx
---
arch/x86/include/uapi/asm/sgx.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
--- linux-next-20251114.orig/arch/x86/include/uapi/asm/sgx.h
+++ linux-next-20251114/arch/x86/include/uapi/asm/sgx.h
@@ -10,7 +10,7 @@
/**
* enum sgx_page_flags - page control flags
- * %SGX_PAGE_MEASURE: Measure the page contents with a sequence of
+ * @SGX_PAGE_MEASURE: Measure the page contents with a sequence of
* ENCLS[EEXTEND] operations.
*/
enum sgx_page_flags {