This patch fixes the linux-next powerpc build errors as reported by
Stephen Rothwell.
Reported-by: Stephen Rothwell <[email protected]>
Signed-off-by: Mimi Zohar <[email protected]>
Tested-by: Rajiv Andrade <[email protected]>
---
security/keys/encrypted_defined.c | 1 +
security/keys/trusted_defined.c | 1 +
2 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/security/keys/encrypted_defined.c b/security/keys/encrypted_defined.c
index 0e558dc..3f40857 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 1bec72e..aaaa069 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>
--
1.7.2.2
On Mon, 29 Nov 2010, Mimi Zohar wrote:
> This patch fixes the linux-next powerpc build errors as reported by
> Stephen Rothwell.
>
> Reported-by: Stephen Rothwell <[email protected]>
> Signed-off-by: Mimi Zohar <[email protected]>
> Tested-by: Rajiv Andrade <[email protected]>
Thanks!
Applied to
git://git.kernel.org/pub/scm/linux/kernel/git/jmorris/security-testing-2.6#next
--
James Morris
<[email protected]>