IMA: fix ima_delete_rules() definition

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Linux Kernel Mailing List
Date: Thursday, March 26, 2009 - 12:00 pm

Gitweb:     http://git.kernel.org/linus/64c61d80a6e4c935a09ac5ff1d952967ca1268f8
Commit:     64c61d80a6e4c935a09ac5ff1d952967ca1268f8
Parent:     aa7168f47d912459a99a01c93714f447b44bfa72
Author:     James Morris <jmorris@namei.org>
AuthorDate: Thu Feb 5 09:28:26 2009 +1100
Committer:  James Morris <jmorris@namei.org>
CommitDate: Fri Feb 6 09:05:34 2009 +1100

    IMA: fix ima_delete_rules() definition
    
    Fix ima_delete_rules() definition so sparse doesn't complain.
    
    Signed-off-by: James Morris <jmorris@namei.org>
---
 security/integrity/ima/ima_policy.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/security/integrity/ima/ima_policy.c b/security/integrity/ima/ima_policy.c
index bd45360..23810e0 100644
--- a/security/integrity/ima/ima_policy.c
+++ b/security/integrity/ima/ima_policy.c
@@ -400,7 +400,7 @@ int ima_parse_add_rule(char *rule)
 }
 
 /* ima_delete_rules called to cleanup invalid policy */
-void ima_delete_rules()
+void ima_delete_rules(void)
 {
 	struct ima_measure_rule_entry *entry, *tmp;
 
--
To unsubscribe from this list: send the line "unsubscribe git-commits-head" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
IMA: fix ima_delete_rules() definition, Linux Kernel Mailing ..., (Thu Mar 26, 12:00 pm)