diff options
author | Randy Dunlap <rdunlap@infradead.org> | 2021-04-12 02:55:28 +0200 |
---|---|---|
committer | James Morris <jamorris@linux.microsoft.com> | 2021-04-15 18:21:58 +0200 |
commit | 049ae601f3fb3d5b1c1efdb434499770c96237f6 (patch) | |
tree | 25db18a361344131cc8dbf05e0e0415b030f4874 /drivers/media/test-drivers/vivid/vivid-ctrls.c | |
parent | security: commoncap: fix -Wstringop-overread warning (diff) | |
download | linux-049ae601f3fb3d5b1c1efdb434499770c96237f6.tar.xz linux-049ae601f3fb3d5b1c1efdb434499770c96237f6.zip |
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>
Diffstat (limited to 'drivers/media/test-drivers/vivid/vivid-ctrls.c')
0 files changed, 0 insertions, 0 deletions