Messages in this thread Patch in this message | | | Date | Fri, 22 Nov 2013 15:18:31 +0100 | From | Heiko Carstens <> | Subject | [PATCH] ima: add missing "inline" to integrity_init_keyring() |
| |
Add missing "inline" statement to prevent couple of compiler warnings:
In file included from security/integrity/integrity_audit.c:16:0: security/integrity/integrity.h:149:12: warning: 'integrity_init_keyring' defined but not used [-Wunused-function]
Signed-off-by: Heiko Carstens <heiko.carstens@de.ibm.com> --- security/integrity/integrity.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/security/integrity/integrity.h b/security/integrity/integrity.h index b9e7c133734a..c3d48dc4d6cf 100644 --- a/security/integrity/integrity.h +++ b/security/integrity/integrity.h @@ -146,7 +146,7 @@ static inline int asymmetric_verify(struct key *keyring, const char *sig, return -EOPNOTSUPP; } -static int integrity_init_keyring(const unsigned int id) +static inline int integrity_init_keyring(const unsigned int id) { return 0; } -- 1.8.3.4
| |