[ovs-git] Open vSwitch: ovs-wdt: Mark variable static and use NULL for a null pointer. (master)

dev at openvswitch.org dev at openvswitch.org
Thu Feb 11 18:31:21 UTC 2010


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  193ec5109dedb23058dfa734545313b5b3ba10c8 (commit)
       via  35f7605b3f40ebe49e4a1ad2555ef89ba48433b5 (commit)
       via  2175540274b68b10a9368e2c751f79e6d387baed (commit)
      from  691556222cadce47c117134ac1584b75a294367e (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 193ec5109dedb23058dfa734545313b5b3ba10c8
Diffs: http://openvswitch.org/cgi-bin/gitweb.cgi?p=openvswitch;a=commitdiff;h=193ec5109dedb23058dfa734545313b5b3ba10c8
Author: Ben Pfaff <blp at nicira.com>
		
ovs-wdt: Mark variable static and use NULL for a null pointer.
		
Neither is really a bug but it's cleaner this way.

Found by sparse (http://sparse.wiki.kernel.org/).


commit 35f7605b3f40ebe49e4a1ad2555ef89ba48433b5
Diffs: http://openvswitch.org/cgi-bin/gitweb.cgi?p=openvswitch;a=commitdiff;h=35f7605b3f40ebe49e4a1ad2555ef89ba48433b5
Author: Ben Pfaff <blp at nicira.com>
		
datapath: Mark functions "static".
		
Found by sparse (http://sparse.wiki.kernel.org/).


commit 2175540274b68b10a9368e2c751f79e6d387baed
Diffs: http://openvswitch.org/cgi-bin/gitweb.cgi?p=openvswitch;a=commitdiff;h=2175540274b68b10a9368e2c751f79e6d387baed
Author: Ben Pfaff <blp at nicira.com>
		
datapath: When adding a port, return the new port number to userspace.
		
'port' is a kernel-space copy of the odp_port and modifying it is useless.
'portp' is the userspace copy; modifying it is useful.

None of our current userspace users care about the port number and so we
never noticed.

Found by sparse (http://sparse.wiki.kernel.org/).


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

Summary of changes:
 datapath/brc_procfs.c |    5 +++--
 datapath/datapath.c   |    8 ++++----
 utilities/ovs-wdt.c   |    6 +++---
 3 files changed, 10 insertions(+), 9 deletions(-)


hooks/post-receive
-- 
Open vSwitch




More information about the git mailing list