I've added the following comment. /* Sparse complains about the proper PTHREAD_MUTEX_INITIALIZER definition. * Luckily, it's not a real compiler so we can overwrite it with something * simple. */
Thanks for the review, Ethan On Tue, Jul 9, 2013 at 4:08 PM, Ben Pfaff <b...@nicira.com> wrote: > On Tue, Jul 09, 2013 at 03:29:20PM -0700, Ethan Jackson wrote: >> With the latest version of sparse, the ATOMIC_VAR_INIT macro >> generates the following warning. This patch suppresses it. >> >> warning: Using plain integer as NULL pointer >> >> Signed-off-by: Ethan Jackson <et...@nicira.com> > > Acked-by: Ben Pfaff <b...@nicira.com> > > Please do add a comment that explains why the #undef/#define is > needed. > _______________________________________________ > dev mailing list > dev@openvswitch.org > http://openvswitch.org/mailman/listinfo/dev X-CudaMail-Whitelist-To: dev@openvswitch.org _______________________________________________ dev mailing list dev@openvswitch.org http://openvswitch.org/mailman/listinfo/dev