Re: [ovs-dev] [PATCH 4/4] uuid: New macro UUID_ZERO for an all-zero expression or initializer.

2017-02-08 Thread Ben Pfaff
On Wed, Feb 08, 2017 at 11:29:19AM -0800, Andy Zhou wrote: > On Wed, Feb 8, 2017 at 8:32 AM, Ben Pfaff wrote: > > This is convenient in expressions, e.g. "uuid = x ? *x : UUID_ZERO;". > > > > Signed-off-by: Ben Pfaff > Acked-by: Andy Zhou Thanks for all the reviews. I applied these to master.

Re: [ovs-dev] [PATCH 4/4] uuid: New macro UUID_ZERO for an all-zero expression or initializer.

2017-02-08 Thread Andy Zhou
On Wed, Feb 8, 2017 at 8:32 AM, Ben Pfaff wrote: > This is convenient in expressions, e.g. "uuid = x ? *x : UUID_ZERO;". > > Signed-off-by: Ben Pfaff Acked-by: Andy Zhou ___ dev mailing list d...@openvswitch.org https://mail.openvswitch.org/mailman/lis

[ovs-dev] [PATCH 4/4] uuid: New macro UUID_ZERO for an all-zero expression or initializer.

2017-02-08 Thread Ben Pfaff
This is convenient in expressions, e.g. "uuid = x ? *x : UUID_ZERO;". Signed-off-by: Ben Pfaff --- lib/uuid.c | 2 +- lib/uuid.h | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/lib/uuid.c b/lib/uuid.c index bd98d40..a9094d3 100644 --- a/lib/uuid.c +++ b/lib/uuid.c @@ -115,