Commit afe76eca authored by Borislav Petkov's avatar Borislav Petkov
Browse files

x86/sgx: Fix sgx_ioc_enclave_provision() kernel-doc comment



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: default avatarStephen Rothwell <sfr@canb.auug.org.au>
Signed-off-by: default avatarBorislav Petkov <bp@suse.de>
Link: https://lkml.kernel.org/r/20201123181922.0c009406@canb.auug.org.au
parent 14132a5b
Loading
Loading
Loading
Loading
+1 −1
Original line number Original line Diff line number Diff line
@@ -652,7 +652,7 @@ static long sgx_ioc_enclave_init(struct sgx_encl *encl, void __user *arg)


/**
/**
 * sgx_ioc_enclave_provision() - handler for %SGX_IOC_ENCLAVE_PROVISION
 * 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
 * @arg:	userspace pointer to a struct sgx_enclave_provision instance
 *
 *
 * Allow ATTRIBUTE.PROVISION_KEY for an enclave by providing a file handle to
 * Allow ATTRIBUTE.PROVISION_KEY for an enclave by providing a file handle to