Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

capability: fix kernel-doc warnings in capability.c

Fix all kernel-doc warnings in capability.c:

kernel/capability.c:477: warning: Function parameter or member 'idmap'
not described in 'privileged_wrt_inode_uidgid'
kernel/capability.c:493: warning: Function parameter or member 'idmap'
not described in 'capable_wrt_inode_uidgid'

Signed-off-by: Gaosheng Cui <cuigaosheng1@huawei.com>
Acked-by: Serge Hallyn <serge@hallyn.com>
Signed-off-by: Paul Moore <paul@paul-moore.com>

authored by

Gaosheng Cui and committed by
Paul Moore
a495108e ac9a7868

+2
+2
kernel/capability.c
··· 467 467 /** 468 468 * privileged_wrt_inode_uidgid - Do capabilities in the namespace work over the inode? 469 469 * @ns: The user namespace in question 470 + * @idmap: idmap of the mount @inode was found from 470 471 * @inode: The inode in question 471 472 * 472 473 * Return true if the inode uid and gid are within the namespace. ··· 482 481 483 482 /** 484 483 * capable_wrt_inode_uidgid - Check nsown_capable and uid and gid mapped 484 + * @idmap: idmap of the mount @inode was found from 485 485 * @inode: The inode in question 486 486 * @cap: The capability in question 487 487 *