Re: [PATCH] security: commoncap: clean up kernel-doc comments
From: James Morris <jmorris@namei.org>
Date: 2021-04-15 16:23:16
Also in:
lkml
From: James Morris <jmorris@namei.org>
Date: 2021-04-15 16:23:16
Also in:
lkml
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 <redacted> Cc: Serge Hallyn <serge@hallyn.com> Cc: James Morris <jmorris@namei.org> Cc: linux-security-module@vger.kernel.org
Applied to git://git.kernel.org/pub/scm/linux/kernel/git/jmorris/linux-security.git fixes-v5.12 -- James Morris [off-list ref]