I upgraded from Clang 1:3.4~svn187484-1~exp1 to 1:3.4~svn188890-1~exp1 this
morning and got new thread safety warnings. This series fixes them.
All the new warnings appear to be false positives.
Ben Pfaff (4):
ovs-thread: Mark lock and unlock functions as
no_thread_safety_analysis.
ofproto-dpif: Fix thread safety annotation on
rule_dpif_lookup_in_table().
ofproto-dpif: Mark rule_release() as no_thread_safety_analysis.
ofproto-dpif-xlate: Refactor xlate_table_action() to avoid Clang
warnings.
lib/compiler.h | 3 +++
lib/ovs-thread.c | 3 +++
ofproto/ofproto-dpif-xlate.c | 56 +++++++++++++++++++++++-------------------
ofproto/ofproto-dpif.c | 3 ++-
ofproto/ofproto-dpif.h | 2 +-
5 files changed, 40 insertions(+), 27 deletions(-)
--
1.7.10.4
_______________________________________________
dev mailing list
[email protected]
http://openvswitch.org/mailman/listinfo/dev