From: David Howells <dhowells@redhat.com>
Date: Fri, 25 Jul 2014 10:33:53 +0000 (+0100)
Subject: PKCS#7: Missing inclusion of linux/err.h
X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=8f3438ccea149647ad1849651d1e14c7b8b85e63;p=GitHub%2Fexynos8895%2Fandroid_kernel_samsung_universal8895.git

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

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 @@
 
 #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>