security: commoncap: clean up kernel-doc comments
authorRandy Dunlap <rdunlap@infradead.org>
Mon, 12 Apr 2021 00:55:28 +0000 (17:55 -0700)
committerJames Morris <jamorris@linux.microsoft.com>
Thu, 15 Apr 2021 16:21:58 +0000 (09:21 -0700)
commit049ae601f3fb3d5b1c1efdb434499770c96237f6
tree25db18a361344131cc8dbf05e0e0415b030f4874
parent82e5d8cc768b0c7b03c551a9ab1f8f3f68d5f83f
security: commoncap: clean up kernel-doc comments

Fix kernel-doc notation in commoncap.c.

Use correct (matching) function name in comments as in code.
Use correct function argument names in kernel-doc comments.
Use kernel-doc's "Return:" format for function return values.

Fixes these kernel-doc warnings:

../security/commoncap.c:1206: warning: expecting prototype for cap_task_ioprio(). Prototype was for cap_task_setioprio() instead
../security/commoncap.c:1219: warning: expecting prototype for cap_task_ioprio(). Prototype was for cap_task_setnice() instead

Signed-off-by: Randy Dunlap <rdunlap@infradead.org>
Reviewed-by: Serge Hallyn <serge@hallyn.com>
Signed-off-by: James Morris <jamorris@linux.microsoft.com>
security/commoncap.c