]> www.infradead.org Git - nvme.git/commitdiff
yama: document function parameter
authorChristian Göttsche <cgzones@googlemail.com>
Fri, 15 Mar 2024 12:54:10 +0000 (13:54 +0100)
committerKees Cook <kees@kernel.org>
Thu, 6 Jun 2024 18:40:28 +0000 (11:40 -0700)
Document the unused function parameter of yama_relation_cleanup() to
please kernel doc warnings.

Signed-off-by: Christian Göttsche <cgzones@googlemail.com>
Reviewed-by: Paul Moore <paul@paul-moore.com>
Reviewed-by: Kees Cook <keescook@chromium.org>
Link: https://lore.kernel.org/r/20240315125418.273104-2-cgzones@googlemail.com
Signed-off-by: Kees Cook <kees@kernel.org>
security/yama/yama_lsm.c

index b6684a074a59be130bee236d133e8636d2000ecc..39944a859ff6beb9af1bc0829b5832c8d4f1b530 100644 (file)
@@ -111,6 +111,7 @@ static void report_access(const char *access, struct task_struct *target,
 
 /**
  * yama_relation_cleanup - remove invalid entries from the relation list
+ * @work: unused
  *
  */
 static void yama_relation_cleanup(struct work_struct *work)