backports.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] backports: include linux/err.h in key.c
@ 2018-01-19  8:02 Chi-Hsien Lin
  2018-01-31 11:35 ` Johannes Berg
  0 siblings, 1 reply; 2+ messages in thread
From: Chi-Hsien Lin @ 2018-01-19  8:02 UTC (permalink / raw)
  To: backports; +Cc: Johannes Berg, Winnie Chang, Chi-hsien Lin

From: Winnie Chang <winnie.chang@cypress.com>

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

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] backports: include linux/err.h in key.c
  2018-01-19  8:02 [PATCH] backports: include linux/err.h in key.c Chi-Hsien Lin
@ 2018-01-31 11:35 ` Johannes Berg
  0 siblings, 0 replies; 2+ messages in thread
From: Johannes Berg @ 2018-01-31 11:35 UTC (permalink / raw)
  To: Chi-Hsien Lin, backports; +Cc: Winnie Chang

On Fri, 2018-01-19 at 02:02 -0600, Chi-Hsien Lin wrote:
> From: Winnie Chang <winnie.chang@cypress.com>
> 
> Function IS_ERR, PTR_ERR and ERR_PTR are not found. Need to include
> linux/err.h to fix compiling errors.
> 
Applied, thanks. Sorry for the delay.

johannes

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2018-01-31 11:35 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-01-19  8:02 [PATCH] backports: include linux/err.h in key.c Chi-Hsien Lin
2018-01-31 11:35 ` Johannes Berg

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).