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 <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>
1 parent 0ee1472 commit f7d3b1f

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

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)