aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid Howells <dhowells@redhat.com>2014-07-25 06:33:53 -0400
committerDavid Howells <dhowells@redhat.com>2014-07-25 06:33:53 -0400
commit8f3438ccea149647ad1849651d1e14c7b8b85e63 (patch)
treef8f3b543b357439a38544e0f6a419133b7b5de56
parent633706a2ee81637be37b6bc02c5336950cc163b5 (diff)
PKCS#7: Missing inclusion of linux/err.h
crypto/asymmetric_keys/pkcs7_key_type.c needs to #include linux/err.h rather than relying on getting it through other headers. Without this, the powerpc allyesconfig build fails. Reported-by: Stephen Rothwell <sfr@canb.auug.org.au> Signed-off-by: David Howells <dhowells@redhat.com>
-rw-r--r--crypto/asymmetric_keys/pkcs7_key_type.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/crypto/asymmetric_keys/pkcs7_key_type.c b/crypto/asymmetric_keys/pkcs7_key_type.c
index c2091f7bd15d..197ecdc0a5a1 100644
--- a/crypto/asymmetric_keys/pkcs7_key_type.c
+++ b/crypto/asymmetric_keys/pkcs7_key_type.c
@@ -11,6 +11,7 @@
11 11
12#define pr_fmt(fmt) "PKCS7key: "fmt 12#define pr_fmt(fmt) "PKCS7key: "fmt
13#include <linux/key.h> 13#include <linux/key.h>
14#include <linux/err.h>
14#include <linux/key-type.h> 15#include <linux/key-type.h>
15#include <crypto/pkcs7.h> 16#include <crypto/pkcs7.h>
16#include <keys/user-type.h> 17#include <keys/user-type.h>