Commit 5962e51e authored by Andrew Morton's avatar Andrew Morton Committed by james toy

/usr/src/devel/arch/x86/Makefile:82: stack protector enabled but no compiler support

/usr/src/devel/arch/x86/Makefile:82: stack protector enabled but no compiler support
In file included from crypto/api.c:18:
include/linux/err.h: In function 'IS_ERR_OR_NULL':
include/linux/err.h:39: error: 'NULL' undeclared (first use in this function)
include/linux/err.h:39: error: (Each undeclared identifier is reported only once
include/linux/err.h:39: error: for each function it appears in.)

Cc: Phil Carmody <ext-phil.2.carmody@nokia.com>
Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
parent a5a1e1c3
...@@ -36,7 +36,7 @@ static inline long IS_ERR(const void *ptr) ...@@ -36,7 +36,7 @@ static inline long IS_ERR(const void *ptr)
static inline long IS_ERR_OR_NULL(const void *ptr) static inline long IS_ERR_OR_NULL(const void *ptr)
{ {
return (ptr == NULL) || IS_ERR_VALUE((unsigned long)ptr); return !ptr || IS_ERR_VALUE((unsigned long)ptr);
} }
/** /**
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment