linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH -next] Yama: fix doc warnings
@ 2021-06-10  7:49 ChenXiaoSong
  0 siblings, 0 replies; only message in thread
From: ChenXiaoSong @ 2021-06-10  7:49 UTC (permalink / raw)
  To: keescook, jmorris, serge
  Cc: linux-security-module, linux-kernel, yukuai3, yi.zhang, chenxiaosong2

Fix gcc W=1 warnings:

security/yama/yama_lsm.c:116: warning: Function parameter or member 'work' not described in 'yama_relation_cleanup'

Signed-off-by: ChenXiaoSong <chenxiaosong2@huawei.com>
---
 security/yama/yama_lsm.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/security/yama/yama_lsm.c b/security/yama/yama_lsm.c
index 06e226166aab..acfa1b82311d 100644
--- a/security/yama/yama_lsm.c
+++ b/security/yama/yama_lsm.c
@@ -110,6 +110,7 @@ static void report_access(const char *access, struct task_struct *target,
 
 /**
  * yama_relation_cleanup - remove invalid entries from the relation list
+ * @work: Pointer to "struct work_struct".
  *
  */
 static void yama_relation_cleanup(struct work_struct *work)
-- 
2.25.4


^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2021-06-10  7:43 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-06-10  7:49 [PATCH -next] Yama: fix doc warnings ChenXiaoSong

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).