diff options
author | David Howells <dhowells@redhat.com> | 2014-07-25 06:33:53 -0400 |
---|---|---|
committer | David Howells <dhowells@redhat.com> | 2014-07-25 06:33:53 -0400 |
commit | 8f3438ccea149647ad1849651d1e14c7b8b85e63 (patch) | |
tree | f8f3b543b357439a38544e0f6a419133b7b5de56 /crypto/asymmetric_keys | |
parent | 633706a2ee81637be37b6bc02c5336950cc163b5 (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>
Diffstat (limited to 'crypto/asymmetric_keys')
-rw-r--r-- | crypto/asymmetric_keys/pkcs7_key_type.c | 1 |
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> |