[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <f1b7edf3-2df-64c-91a5-f9989b745136@namei.org>
Date: Fri, 16 Apr 2021 02:19:35 +1000 (AEST)
From: James Morris <jmorris@...ei.org>
To: Randy Dunlap <rdunlap@...radead.org>
cc: linux-kernel@...r.kernel.org, Serge Hallyn <serge@...lyn.com>,
linux-security-module@...r.kernel.org
Subject: Re: [PATCH] security: commoncap: clean up kernel-doc comments
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@...radead.org>
> Cc: Serge Hallyn <serge@...lyn.com>
> Cc: James Morris <jmorris@...ei.org>
> Cc: linux-security-module@...r.kernel.org
Applied to
git://git.kernel.org/pub/scm/linux/kernel/git/jmorris/linux-security.git fixes-v5.12
--
James Morris
<jmorris@...ei.org>
Powered by blists - more mailing lists