]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit59f4a118027b3793ba5128ca7cc38427b9c25438
tree25db18a361344131cc8dbf05e0e0415b030f4874
parent8cb36984b063fc519d68537c2b4f7b2d4e75d43f
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