[ovs-git] Open vSwitch: ovs-atomic: atomic_load() must take a non-const argument. (master)

dev at openvswitch.org dev at openvswitch.org
Tue Aug 20 22:15:21 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  5675cb4cbd51351a2aaa4c7c7470cb2ea21eedd5 (commit)
      from  2d344ba5be310b085806b6e6b80833039465722b (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 5675cb4cbd51351a2aaa4c7c7470cb2ea21eedd5
Diffs: http://openvswitch.org/cgi-bin/gitweb.cgi?p=openvswitch;a=commitdiff;h=5675cb4cbd51351a2aaa4c7c7470cb2ea21eedd5
Author: Ben Pfaff <blp at nicira.com>
ovs-atomic: atomic_load() must take a non-const argument.
C11 says that atomic_load() requires a non-const argument, and Clang
enforces that.  This fixes warnings with FreeBSD <stdatomic.h> that uses
the Clang extensions.

Reported-by: Ed Maste <emaste at freebsd.org>
Signed-off-by: Ben Pfaff <blp at nicira.com>
Acked-by: Ed Maste <emaste at freebsd.org>


Summary of changes:
 lib/bfd.c        |    4 +++-
 lib/cfm.c        |   14 ++++++++------
 lib/ovs-thread.h |    2 +-
 3 files changed, 12 insertions(+), 8 deletions(-)

Open vSwitch

More information about the git mailing list