Skip to contentSkip to conversation

Yama: fix doc warnings

PATCH New ChenXiaoSong 1 participant 1 message Jun 10, 2021

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 Yama: fix doc warnings

Fix gcc W=1 warnings:

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

---
 security/yama/yama_lsm.c | 1 +
 1 file changed, 1 insertion(+)
security/yama/yama_lsm.c +1 -0
index 06e226166aab..acfa1b82311d 100644
@@ -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)
Signature · 1 line
2.25.4