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 following sparse warning.
> > > 
> > > ./include/sparse/sys/socket.h:74:15: error: undefined identifier 'NULL'
> > > 
> > > Signed-off-by: Simon Horman <ho...@verge.net.au>
> > 
> > Does <stddef.h> work?  It defines NULL, like <stdlib.h>, but it has
> > fewer extra definitions.
> 
> Yes, thanks, it does. Shall I send a revised patch?

Yes, please.
_______________________________________________
dev mailing list
dev@openvswitch.org
http://openvswitch.org/mailman/listinfo/dev

Reply via email to