From 717a54434bd8158c7ac7c9077ce6ef793fe7dbd2 Mon Sep 17 00:00:00 2001 From: Jarkko Sakkinen Date: Thu, 11 Mar 2021 10:56:15 +0800 Subject: [PATCH 2600/2944] x86/sgx: Fix sgx_ioc_enclave_provision() kernel-doc comment to #31052548 commit afe76eca862ccde2a0c30105fc97a46a0b59339b upstream. 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 Signed-off-by: Borislav Petkov Link: https://lkml.kernel.org/r/20201123181922.0c009406@canb.auug.org.au Signed-off-by: GuoRui.Yu Reviewed-by: Jia Zhang --- arch/x86/kernel/cpu/sgx/ioctl.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/x86/kernel/cpu/sgx/ioctl.c b/arch/x86/kernel/cpu/sgx/ioctl.c index c0311de..274d81d 100644 --- a/arch/x86/kernel/cpu/sgx/ioctl.c +++ b/arch/x86/kernel/cpu/sgx/ioctl.c @@ -653,7 +653,7 @@ static long sgx_ioc_enclave_init(struct sgx_encl *encl, void __user *arg) /** * 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 -- 1.8.3.1