diff options
author | Dmitry Kasatkin <d.kasatkin@samsung.com> | 2014-09-03 10:19:58 +0300 |
---|---|---|
committer | Mimi Zohar <zohar@linux.vnet.ibm.com> | 2014-09-09 10:28:50 -0400 |
commit | e4a9c5196566bd47ac92f6e5ef7f48412ded7176 (patch) | |
tree | 14799b5e90f93dd667db46fd56960a47ad066985 /security/integrity/ima/ima_crypto.c | |
parent | 3a8a2eadc4946ce3af39b3447c32532324538f75 (diff) | |
download | linux-e4a9c5196566bd47ac92f6e5ef7f48412ded7176.tar.bz2 |
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_crypto.c')
-rw-r--r-- | security/integrity/ima/ima_crypto.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/security/integrity/ima/ima_crypto.c b/security/integrity/ima/ima_crypto.c index 3b26472fbf0a..d34e7dfc1118 100644 --- a/security/integrity/ima/ima_crypto.c +++ b/security/integrity/ima/ima_crypto.c @@ -97,7 +97,7 @@ static int ima_kernel_read(struct file *file, loff_t offset, return ret; } -int ima_init_crypto(void) +int __init ima_init_crypto(void) { long rc; |