]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
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 0e558dcad92f8edabb57240babf1160a39a7db52..3f4085703e6c7f9c918fcf9129203505e909f71c 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 1bec72e7596d1dd09d3f9f95875cf7dab57c406f..aaaa069967a6b6287d81c71b1cff5ca2cc4b5788 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>