[RFC PATCH] ima: ima_init_ima_crypto() can be static
From: kbuild test robot
Date: Wed Feb 05 2020 - 18:41:54 EST
Fixes: d49f85a89d4e ("ima: Allocate and initialize tfm for each PCR bank")
Signed-off-by: kbuild test robot <lkp@xxxxxxxxx>
---
ima_crypto.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/security/integrity/ima/ima_crypto.c b/security/integrity/ima/ima_crypto.c
index 7b63a32eefea17..d865e26839ef6d 100644
--- a/security/integrity/ima/ima_crypto.c
+++ b/security/integrity/ima/ima_crypto.c
@@ -69,7 +69,7 @@ int ima_num_template_digests;
static struct ima_algo_desc *ima_algo_array;
-int __init ima_init_ima_crypto(void)
+static int __init ima_init_ima_crypto(void)
{
long rc;