[PATCH] backports: include linux/err.h in key.c

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



From: Winnie Chang <winnie.chang@xxxxxxxxxxx>

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@xxxxxxxxxxx>
Signed-off-by: Chi-hsien Lin <chi-hsien.lin@xxxxxxxxxxx>
---
 backport/compat/verification/key.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/backport/compat/verification/key.c b/backport/compat/verification/key.c
index 3a3c9bc..329f8b2 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"
 
-- 
1.9.1

--
To unsubscribe from this list: send the line "unsubscribe backports" in



[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux