[RFC PATCH] ima: ima_init_ima_crypto() can be static
kbuild test robot
lkp at intel.com
Wed Feb 5 23:41:20 UTC 2020
Fixes: d49f85a89d4e ("ima: Allocate and initialize tfm for each PCR bank")
Signed-off-by: kbuild test robot <lkp at intel.com>
---
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;
More information about the Linux-security-module-archive
mailing list