Skip to content
Snippets Groups Projects
Commit b8dc5794 authored by Randy Dunlap's avatar Randy Dunlap Committed by Mimi Zohar
Browse files

ima: fix ima_delete_rules() kernel-doc warning


Use correct kernel-doc syntax in the function description to
prevent a kernel-doc warning:

security/integrity/ima/ima_policy.c:1964: warning: expecting prototype for ima_delete_rules() called to cleanup invalid in(). Prototype was for ima_delete_rules() instead

Signed-off-by: default avatarRandy Dunlap <rdunlap@infradead.org>
Reviewed-by: default avatarPaul Moore <paul@paul-moore.com>
Signed-off-by: default avatarMimi Zohar <zohar@linux.ibm.com>
parent 62622dab
No related branches found
No related tags found
No related merge requests found
...@@ -1955,7 +1955,8 @@ ssize_t ima_parse_add_rule(char *rule) ...@@ -1955,7 +1955,8 @@ ssize_t ima_parse_add_rule(char *rule)
} }
/** /**
* ima_delete_rules() called to cleanup invalid in-flight policy. * ima_delete_rules() - called to cleanup invalid in-flight policy.
*
* We don't need locking as we operate on the temp list, which is * We don't need locking as we operate on the temp list, which is
* different from the active one. There is also only one user of * different from the active one. There is also only one user of
* ima_delete_rules() at a time. * ima_delete_rules() at a time.
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment