aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMimi Zohar <zohar@linux.vnet.ibm.com>2010-11-29 16:20:04 -0500
committerJames Morris <jmorris@namei.org>2010-11-30 09:20:27 +1100
commit93ae86e759299718c611bc543b9b1633bf32905a (patch)
treee8b054d9df2c2f9e935d656d5eb25c7c6231c940
parentb4e0d5f0791bd6dd12a1c1edea0340969c7c1f90 (diff)
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 0e558dcad92..3f4085703e6 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 1bec72e7596..aaaa069967a 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>