diff options
author | Randy Dunlap <rdunlap@infradead.org> | 2023-01-02 12:45:25 -0800 |
---|---|---|
committer | Mimi Zohar <zohar@linux.ibm.com> | 2023-01-18 13:35:40 -0500 |
commit | b8dc57947379ca02500540bf942ecb42a30bfe92 (patch) | |
tree | dfbc77016b85b1db6de111bf299c69d425b67466 /security | |
parent | 62622dab0a285033e971641b781bc917d5939ce6 (diff) | |
download | linux-stable-b8dc57947379ca02500540bf942ecb42a30bfe92.tar.gz linux-stable-b8dc57947379ca02500540bf942ecb42a30bfe92.tar.bz2 linux-stable-b8dc57947379ca02500540bf942ecb42a30bfe92.zip |
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: Randy Dunlap <rdunlap@infradead.org>
Reviewed-by: Paul Moore <paul@paul-moore.com>
Signed-off-by: Mimi Zohar <zohar@linux.ibm.com>
Diffstat (limited to 'security')
-rw-r--r-- | security/integrity/ima/ima_policy.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/security/integrity/ima/ima_policy.c b/security/integrity/ima/ima_policy.c index 6a68ec270822..a8b9a1387a21 100644 --- a/security/integrity/ima/ima_policy.c +++ b/security/integrity/ima/ima_policy.c @@ -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 * different from the active one. There is also only one user of * ima_delete_rules() at a time. |