From f5de851260e139650bdfda1fc022d45642bccf35 Mon Sep 17 00:00:00 2001 From: Ben Pfaff Date: Mon, 10 Mar 2014 14:14:06 -0700 Subject: [PATCH] ovs-atomic-gcc4+: Fix parenthesization in atomic_read_explicit(). Signed-off-by: Ben Pfaff Acked-by: Andy Zhou --- lib/ovs-atomic-gcc4+.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/ovs-atomic-gcc4+.h b/lib/ovs-atomic-gcc4+.h index b46518149..ddfd03c88 100644 --- a/lib/ovs-atomic-gcc4+.h +++ b/lib/ovs-atomic-gcc4+.h @@ -202,7 +202,7 @@ atomic_signal_fence(memory_order order OVS_UNUSED) #define atomic_read_explicit(SRC, DST, ORDER) \ (ATOMIC_SWITCH(SRC, \ (atomic_thread_fence_if_seq_cst(ORDER), \ - (*DST) = (SRC)->value, \ + *(DST) = (SRC)->value, \ atomic_thread_fence(ORDER)), \ *(DST) = locked_uint64_load(AS_LOCKED_UINT64(SRC)), \ *(DST) = locked_int64_load(AS_LOCKED_INT64(SRC))), \ -- 2.43.0