summaryrefslogtreecommitdiff
path: root/backport
diff options
context:
space:
mode:
authorWinnie Chang <winnie.chang@cypress.com>2018-01-19 02:02:21 -0600
committerJohannes Berg <johannes.berg@intel.com>2018-01-31 12:32:50 +0100
commit33c41fd8ebdd05f3f9e78a331844b5c5419e5276 (patch)
tree071070e5573a42f405b3932bc2c0e864ffcca7b6 /backport
parente4d497dd7ac76ed232750dcb2ccb0a3a508173b1 (diff)
backports: include linux/err.h in key.c
Function IS_ERR, PTR_ERR and ERR_PTR are not found. Need to include linux/err.h to fix compiling errors. Signed-off-by: Winnie Chang <winnie.chang@cypress.com> Signed-off-by: Chi-hsien Lin <chi-hsien.lin@cypress.com> Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'backport')
-rw-r--r--backport/compat/verification/key.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/backport/compat/verification/key.c b/backport/compat/verification/key.c
index 3a3c9bc5..329f8b22 100644
--- a/backport/compat/verification/key.c
+++ b/backport/compat/verification/key.c
@@ -1,6 +1,7 @@
#include <linux/export.h>
#include <linux/slab.h>
#include <linux/key.h>
+#include <linux/err.h>
#include <keys/asymmetric-type.h>
#include "x509_parser.h"