Re: [ovs-dev] [PATCH] sparse: Include stdlib.h to ensure NULL is defined.

2013-11-21 Thread Ben Pfaff
On Fri, Nov 22, 2013 at 09:26:43AM +0900, Simon Horman wrote: > On Thu, Nov 21, 2013 at 09:01:12AM -0800, Ben Pfaff wrote: > > On Thu, Nov 21, 2013 at 12:17:51PM +0900, Simon Horman wrote: > > > Include stdlib.h in include/sparse/sys/socket.h to ensure > > > that NULL is defined and thus avoid the

Re: [ovs-dev] [PATCH] sparse: Include stdlib.h to ensure NULL is defined.

2013-11-21 Thread Simon Horman
On Thu, Nov 21, 2013 at 09:01:12AM -0800, Ben Pfaff wrote: > On Thu, Nov 21, 2013 at 12:17:51PM +0900, Simon Horman wrote: > > Include stdlib.h in include/sparse/sys/socket.h to ensure > > that NULL is defined and thus avoid the following sparse warning. > > > > ./include/sparse/sys/socket.h:74:15

Re: [ovs-dev] [PATCH] sparse: Include stdlib.h to ensure NULL is defined.

2013-11-21 Thread Ben Pfaff
On Thu, Nov 21, 2013 at 12:17:51PM +0900, Simon Horman wrote: > Include stdlib.h in include/sparse/sys/socket.h to ensure > that NULL is defined and thus avoid the following sparse warning. > > ./include/sparse/sys/socket.h:74:15: error: undefined identifier 'NULL' > > Signed-off-by: Simon Horman

[ovs-dev] [PATCH] sparse: Include stdlib.h to ensure NULL is defined.

2013-11-20 Thread Simon Horman
Include stdlib.h in include/sparse/sys/socket.h to ensure that NULL is defined and thus avoid the following sparse warning. ./include/sparse/sys/socket.h:74:15: error: undefined identifier 'NULL' Signed-off-by: Simon Horman --- include/sparse/sys/socket.h | 2 ++ 1 file changed, 2 insertions(+)