[ovs-git] Open vSwitch: ofproto-dpif: Mark rule_release() as no_thread_safety_analysis. (master)

dev at openvswitch.org dev at openvswitch.org
Thu Aug 22 16:43:14 UTC 2013


This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "Open vSwitch".

The branch, master has been updated
       via  c1f1f653da950760c3e692d9cda7f72a47987903 (commit)
       via  da2035617fc39caf2efb02916db684cafa679c96 (commit)
      from  0d56eaf2e00b9d0e4d9cbc5d5b360191e5c16ded (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit c1f1f653da950760c3e692d9cda7f72a47987903
Diffs: http://openvswitch.org/cgi-bin/gitweb.cgi?p=openvswitch;a=commitdiff;h=c1f1f653da950760c3e692d9cda7f72a47987903
Author: Ben Pfaff <blp at nicira.com>
		
ofproto-dpif: Mark rule_release() as no_thread_safety_analysis.
		
Otherwise new Clang complains about this function because it only sometimes
releases the lock (that is, it only does it when there is a lock to
release).

I first noticed these warnings with Clang 1:3.4~svn188890-1~exp1.
I previously used version 1:3.4~svn187484-1~exp1.

Signed-off-by: Ben Pfaff <blp at nicira.com>


commit da2035617fc39caf2efb02916db684cafa679c96
Diffs: http://openvswitch.org/cgi-bin/gitweb.cgi?p=openvswitch;a=commitdiff;h=da2035617fc39caf2efb02916db684cafa679c96
Author: Ben Pfaff <blp at nicira.com>
		
ovs-thread: Mark lock and unlock functions as no_thread_safety_analysis.
		
I don't see any other way to make Clang realize that these are the real
mutex implementation functions.

I first noticed these warnings with Clang 1:3.4~svn188890-1~exp1.
I previously used version 1:3.4~svn187484-1~exp1.

Signed-off-by: Ben Pfaff <blp at nicira.com>
Acked-by: Ethan Jackson <ethan at nicira.com>


-----------------------------------------------------------------------

Summary of changes:
 lib/compiler.h         |    3 +++
 lib/ovs-thread.c       |    3 +++
 ofproto/ofproto-dpif.c |    1 +
 3 files changed, 7 insertions(+)


hooks/post-receive
-- 
Open vSwitch



More information about the git mailing list