keys: add missing include file for trusted and encrypted keys
authorMimi Zohar <zohar@linux.vnet.ibm.com>
Mon, 29 Nov 2010 21:20:04 +0000 (16:20 -0500)
committerJames Morris <jmorris@namei.org>
Mon, 29 Nov 2010 22:20:27 +0000 (09:20 +1100)
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>
security/keys/encrypted_defined.c
security/keys/trusted_defined.c

index 0e558dc..3f40857 100644 (file)
@@ -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>
index 1bec72e..aaaa069 100644 (file)
@@ -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>