* [PATCH] ima: add missing "inline" to integrity_init_keyring()
@ 2013-11-22 14:18 Heiko Carstens
0 siblings, 0 replies; only message in thread
From: Heiko Carstens @ 2013-11-22 14:18 UTC (permalink / raw)
To: Mimi Zohar; +Cc: linux-kernel
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
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2013-11-22 14:18 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-11-22 14:18 [PATCH] ima: add missing "inline" to integrity_init_keyring() Heiko Carstens
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).