summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMimi Zohar <zohar@linux.vnet.ibm.com>2010-11-29 22:20:04 +0100
committerJames Morris <jmorris@namei.org>2010-11-29 23:20:27 +0100
commit93ae86e759299718c611bc543b9b1633bf32905a (patch)
treee8b054d9df2c2f9e935d656d5eb25c7c6231c940
parentSmack: UDS revision (diff)
downloadlinux-93ae86e759299718c611bc543b9b1633bf32905a.tar.xz
linux-93ae86e759299718c611bc543b9b1633bf32905a.zip
keys: add missing include file for trusted and encrypted keys
This patch fixes the linux-next powerpc build errors as reported by Stephen Rothwell. Reported-by: Stephen Rothwell <sfr@canb.auug.org.au> Signed-off-by: Mimi Zohar <zohar@us.ibm.com> Tested-by: Rajiv Andrade <srajiv@linux.vnet.ibm.com> Signed-off-by: James Morris <jmorris@namei.org>
-rw-r--r--security/keys/encrypted_defined.c1
-rw-r--r--security/keys/trusted_defined.c1
2 files changed, 2 insertions, 0 deletions
diff --git a/security/keys/encrypted_defined.c b/security/keys/encrypted_defined.c
index 0e558dcad92f..3f4085703e6c 100644
--- a/security/keys/encrypted_defined.c
+++ b/security/keys/encrypted_defined.c
@@ -17,6 +17,7 @@
#include <linux/slab.h>
#include <linux/parser.h>
#include <linux/string.h>
+#include <linux/err.h>
#include <keys/user-type.h>
#include <keys/trusted-type.h>
#include <keys/encrypted-type.h>
diff --git a/security/keys/trusted_defined.c b/security/keys/trusted_defined.c
index 1bec72e7596d..aaaa069967a6 100644
--- a/security/keys/trusted_defined.c
+++ b/security/keys/trusted_defined.c
@@ -17,6 +17,7 @@
#include <linux/slab.h>
#include <linux/parser.h>
#include <linux/string.h>
+#include <linux/err.h>
#include <keys/user-type.h>
#include <keys/trusted-type.h>
#include <linux/key-type.h>