浏览代码

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>
David Howells 11 年之前
父节点
当前提交
8f3438ccea
共有 1 个文件被更改,包括 1 次插入0 次删除
  1. 1 0
      crypto/asymmetric_keys/pkcs7_key_type.c

+ 1 - 0
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>