diff options
author | Dmitry Kasatkin <d.kasatkin@samsung.com> | 2014-09-03 11:19:58 +0400 |
---|---|---|
committer | Mimi Zohar <zohar@linux.vnet.ibm.com> | 2014-09-09 18:28:50 +0400 |
commit | e4a9c5196566bd47ac92f6e5ef7f48412ded7176 (patch) | |
tree | 14799b5e90f93dd667db46fd56960a47ad066985 /security/integrity/ima/ima_template.c | |
parent | 3a8a2eadc4946ce3af39b3447c32532324538f75 (diff) | |
download | linux-e4a9c5196566bd47ac92f6e5ef7f48412ded7176.tar.xz |
ima: add missing '__init' keywords
Add missing keywords to the function definition to cleanup
to discard initialization code.
Signed-off-by: Dmitry Kasatkin <d.kasatkin@samsung.com>
Reviewed-by: Roberto Sassu <roberto.sassu@polito.it>
Signed-off-by: Mimi Zohar <zohar@linux.vnet.ibm.com>
Diffstat (limited to 'security/integrity/ima/ima_template.c')
-rw-r--r-- | security/integrity/ima/ima_template.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/security/integrity/ima/ima_template.c b/security/integrity/ima/ima_template.c index a076a967ec47..f6826066ff0c 100644 --- a/security/integrity/ima/ima_template.c +++ b/security/integrity/ima/ima_template.c @@ -152,7 +152,7 @@ out: return result; } -static int init_defined_templates(void) +static int __init init_defined_templates(void) { int i = 0; int result = 0; @@ -178,7 +178,7 @@ struct ima_template_desc *ima_template_desc_current(void) return ima_template; } -int ima_init_template(void) +int __init ima_init_template(void) { int result; |