projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
633706a
)
PKCS#7: Missing inclusion of linux/err.h
author
David Howells
<dhowells@redhat.com>
Fri, 25 Jul 2014 10:33:53 +0000
(11:33 +0100)
committer
David Howells
<dhowells@redhat.com>
Fri, 25 Jul 2014 10:33:53 +0000
(11:33 +0100)
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>
crypto/asymmetric_keys/pkcs7_key_type.c
patch
|
blob
|
history
diff --git
a/crypto/asymmetric_keys/pkcs7_key_type.c
b/crypto/asymmetric_keys/pkcs7_key_type.c
index
c2091f7
..
197ecdc
100644
(file)
--- a/
crypto/asymmetric_keys/pkcs7_key_type.c
+++ b/
crypto/asymmetric_keys/pkcs7_key_type.c
@@
-11,6
+11,7
@@
#define pr_fmt(fmt) "PKCS7key: "fmt
#include <linux/key.h>
+#include <linux/err.h>
#include <linux/key-type.h>
#include <crypto/pkcs7.h>
#include <keys/user-type.h>