Skip to content

Commit 1d31563

Browse files
ChenXiaoSongsuryasaimadhu
authored andcommitted
x86/sgx: Correct kernel-doc's arg name in sgx_encl_release()
Fix the following kernel-doc warning: arch/x86/kernel/cpu/sgx/encl.c:392: warning: Function parameter \ or member 'ref' not described in 'sgx_encl_release' [ bp: Massage commit message. ] Signed-off-by: ChenXiaoSong <chenxiaosong2@huawei.com> Signed-off-by: Borislav Petkov <bp@suse.de> Link: https://lkml.kernel.org/r/20210609035510.2083694-1-chenxiaosong2@huawei.com
1 parent 0e5a89d commit 1d31563

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

arch/x86/kernel/cpu/sgx/encl.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -383,7 +383,7 @@ const struct vm_operations_struct sgx_vm_ops = {
383383

384384
/**
385385
* sgx_encl_release - Destroy an enclave instance
386-
* @kref: address of a kref inside &sgx_encl
386+
* @ref: address of a kref inside &sgx_encl
387387
*
388388
* Used together with kref_put(). Frees all the resources associated with the
389389
* enclave and the instance itself.

0 commit comments

Comments
 (0)