2010-11-29 21:20:21

by Mimi Zohar

[permalink] [raw]
Subject: [PATCH] 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 <[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


2010-11-29 22:21:58

by James Morris

[permalink] [raw]
Subject: Re: [PATCH] keys: add missing include file for trusted and encrypted keys

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]>