[PATCH] security: commoncap: clean up kernel-doc comments

James Morris jmorris at namei.org
Thu Apr 15 16:19:35 UTC 2021


On Sun, 11 Apr 2021, Randy Dunlap wrote:

> 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 at infradead.org>
> Cc: Serge Hallyn <serge at hallyn.com>
> Cc: James Morris <jmorris at namei.org>
> Cc: linux-security-module at vger.kernel.org

Applied to
git://git.kernel.org/pub/scm/linux/kernel/git/jmorris/linux-security.git fixes-v5.12

-- 
James Morris
<jmorris at namei.org>



More information about the Linux-security-module-archive mailing list