aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--security/integrity/digsig.c2
-rw-r--r--security/integrity/integrity.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/security/integrity/digsig.c b/security/integrity/digsig.c
index 8d4fbff8b87c..4f643d1b34dd 100644
--- a/security/integrity/digsig.c
+++ b/security/integrity/digsig.c
@@ -63,7 +63,7 @@ int integrity_digsig_verify(const unsigned int id, const char *sig, int siglen,
63 return -EOPNOTSUPP; 63 return -EOPNOTSUPP;
64} 64}
65 65
66int integrity_init_keyring(const unsigned int id) 66int __init integrity_init_keyring(const unsigned int id)
67{ 67{
68 const struct cred *cred = current_cred(); 68 const struct cred *cred = current_cred();
69 int err = 0; 69 int err = 0;
diff --git a/security/integrity/integrity.h b/security/integrity/integrity.h
index 883a5fc75449..f51ad65c894d 100644
--- a/security/integrity/integrity.h
+++ b/security/integrity/integrity.h
@@ -129,7 +129,7 @@ struct integrity_iint_cache *integrity_iint_find(struct inode *inode);
129int integrity_digsig_verify(const unsigned int id, const char *sig, int siglen, 129int integrity_digsig_verify(const unsigned int id, const char *sig, int siglen,
130 const char *digest, int digestlen); 130 const char *digest, int digestlen);
131 131
132int integrity_init_keyring(const unsigned int id); 132int __init integrity_init_keyring(const unsigned int id);
133#else 133#else
134 134
135static inline int integrity_digsig_verify(const unsigned int id, 135static inline int integrity_digsig_verify(const unsigned int id,