diff options
author | Winnie Chang <winnie.chang@cypress.com> | 2018-01-19 02:02:21 -0600 |
---|---|---|
committer | Johannes Berg <johannes.berg@intel.com> | 2018-01-31 12:32:50 +0100 |
commit | 33c41fd8ebdd05f3f9e78a331844b5c5419e5276 (patch) | |
tree | 071070e5573a42f405b3932bc2c0e864ffcca7b6 /backport/compat/verification | |
parent | e4d497dd7ac76ed232750dcb2ccb0a3a508173b1 (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/compat/verification')
-rw-r--r-- | backport/compat/verification/key.c | 1 |
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" |