x86/sgx: Fix sgx_ioc_enclave_provision() kernel-doc comment
authorBorislav Petkov <bp@suse.de>
Mon, 23 Nov 2020 10:11:17 +0000 (11:11 +0100)
committerBorislav Petkov <bp@suse.de>
Tue, 24 Nov 2020 09:46:01 +0000 (10:46 +0100)
Fix

  ./arch/x86/kernel/cpu/sgx/ioctl.c:666: warning: Function parameter or member \
  'encl' not described in 'sgx_ioc_enclave_provision'
  ./arch/x86/kernel/cpu/sgx/ioctl.c:666: warning: Excess function parameter \
  'enclave' description in 'sgx_ioc_enclave_provision'

Reported-by: Stephen Rothwell <sfr@canb.auug.org.au>
Signed-off-by: Borislav Petkov <bp@suse.de>
Link: https://lkml.kernel.org/r/20201123181922.0c009406@canb.auug.org.au
arch/x86/kernel/cpu/sgx/ioctl.c

index 30aefc93a31d504aa669e55e9ee872e7498f23e5..c206aee80a04f8720f788f1c4bd20679c6df7f0c 100644 (file)
@@ -652,7 +652,7 @@ out:
 
 /**
  * sgx_ioc_enclave_provision() - handler for %SGX_IOC_ENCLAVE_PROVISION
- * @enclave:   an enclave pointer
+ * @encl:      an enclave pointer
  * @arg:       userspace pointer to a struct sgx_enclave_provision instance
  *
  * Allow ATTRIBUTE.PROVISION_KEY for an enclave by providing a file handle to