[ovs-git] Open vSwitch: tests: Cleanup getsockname argument warning (master)

nicira-dev at nicira.com nicira-dev at nicira.com
Wed Aug 26 16:03:31 UTC 2009


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  d540d9cbb16ceb4ccc91bdcf983496f8a5a3399f (commit)
       via  bc5ef83d2f042b1a1336d38e32d4893e47c7afcc (commit)
       via  b9b0ce61119594b1fe6c5f91f62b7561d6bcf01d (commit)
       via  d87961bf84a648d893d07c04b18ff3045b138917 (commit)
      from  3c71830aef987c86338d2d0223d4e6913aea25a4 (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 d540d9cbb16ceb4ccc91bdcf983496f8a5a3399f
Diffs: http://openvswitch.org/cgi-bin/gitweb.cgi?p=openvswitch;a=commitdiff;h=d540d9cbb16ceb4ccc91bdcf983496f8a5a3399f
Author: Justin Pettit <jpettit at nicira.com>
		
tests: Cleanup getsockname argument warning
		
The second argument was being passed in as a sockaddr_in, when it should
be a sockaddr.  This commit cleans up the warning by casting it.


commit bc5ef83d2f042b1a1336d38e32d4893e47c7afcc
Diffs: http://openvswitch.org/cgi-bin/gitweb.cgi?p=openvswitch;a=commitdiff;h=bc5ef83d2f042b1a1336d38e32d4893e47c7afcc
Author: Justin Pettit <jpettit at nicira.com>
		
tests: Cleanup islower() warning.
		
NetBSD's gcc complains if islower()'s argument is an unadorned char.  This
provides an appropriate cast.


commit b9b0ce61119594b1fe6c5f91f62b7561d6bcf01d
Diffs: http://openvswitch.org/cgi-bin/gitweb.cgi?p=openvswitch;a=commitdiff;h=b9b0ce61119594b1fe6c5f91f62b7561d6bcf01d
Author: Justin Pettit <jpettit at nicira.com>
		
Cleanup incorrect unitialized variable warnings.
		
The NetBSD compiler warns that these variables may be used unitialized.
They are not, but this commit gets rid of the warnings.


commit d87961bf84a648d893d07c04b18ff3045b138917
Diffs: http://openvswitch.org/cgi-bin/gitweb.cgi?p=openvswitch;a=commitdiff;h=d87961bf84a648d893d07c04b18ff3045b138917
Author: Justin Pettit <jpettit at nicira.com>
		
tests: Rename NTOHL/NTOHS macros
		
NetBSD defines NTOHL and NTOHS macros that are used differently than how
they are defined in the test-classifier.c.  This commit renames the local
definition so there's no conflict.


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

Summary of changes:
 lib/dpif.c              |    2 +-
 ofproto/ofproto.c       |    2 +-
 tests/test-classifier.c |   27 ++++++++++++++-------------
 tests/test-stp.c        |    3 ++-
 tests/test-vconn.c      |    2 +-
 5 files changed, 19 insertions(+), 17 deletions(-)


hooks/post-receive
-- 
Open vSwitch




More information about the git mailing list