Skip to content

Commit f2f2272

Browse files
sean-jchansendc
authored andcommitted
x86/sgx: Fix a typo in the kernel-doc comment for enum sgx_attribute
Use the exact enum name when documenting "enum sgx_attribute" to fix a warning if the file is fed into kernel-doc processing: WARNING: ./arch/x86/include/asm/sgx.h:139 expecting prototype for enum sgx_attributes. Prototype was for enum sgx_attribute instead Signed-off-by: Sean Christopherson <seanjc@google.com> Signed-off-by: Dave Hansen <dave.hansen@linux.intel.com> Reviewed-by: Kai Huang <kai.huang@intel.com> Link: https://patch.msgid.link/20251112160708.1343355-6-seanjc%40google.com
1 parent 55bf13b commit f2f2272

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

  • arch/x86/include/asm

arch/x86/include/asm/sgx.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,7 @@ enum sgx_miscselect {
112112
#define SGX_SSA_MISC_EXINFO_SIZE 16
113113

114114
/**
115-
* enum sgx_attributes - the attributes field in &struct sgx_secs
115+
* enum sgx_attribute - the attributes field in &struct sgx_secs
116116
* @SGX_ATTR_INIT: Enclave can be entered (is initialized).
117117
* @SGX_ATTR_DEBUG: Allow ENCLS(EDBGRD) and ENCLS(EDBGWR).
118118
* @SGX_ATTR_MODE64BIT: Tell that this a 64-bit enclave.

0 commit comments

Comments
 (0)