Skip to content

Commit f7d3b1f

Browse files
cgzoneskees
authored andcommitted
yama: document function parameter
Document the unused function parameter of yama_relation_cleanup() to please kernel doc warnings. Signed-off-by: Christian Göttsche <[email protected]> Reviewed-by: Paul Moore <[email protected]> Reviewed-by: Kees Cook <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Kees Cook <[email protected]>
1 parent 0ee1472 commit f7d3b1f

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

security/yama/yama_lsm.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -111,6 +111,7 @@ static void report_access(const char *access, struct task_struct *target,
111111

112112
/**
113113
* yama_relation_cleanup - remove invalid entries from the relation list
114+
* @work: unused
114115
*
115116
*/
116117
static void yama_relation_cleanup(struct work_struct *work)

0 commit comments

Comments
 (0)