[ovs-git] Open vSwitch: datapath: fix drvinfo strings set in drivers (master)

dev at openvswitch.org dev at openvswitch.org
Fri Mar 15 00:45:07 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  c58a0a6b329100b258e43c79aa4ea10f962bc47e (commit)
      from  79416011612541d103a1d396d888bb8c84eb1da4 (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 c58a0a6b329100b258e43c79aa4ea10f962bc47e
Diffs: http://openvswitch.org/cgi-bin/gitweb.cgi?p=openvswitch;a=commitdiff;h=c58a0a6b329100b258e43c79aa4ea10f962bc47e
Author: Jiri Pirko <jiri at resnulli.us>
		
datapath: fix drvinfo strings set in drivers
		
Use strlcpy where possible to ensure the string is \0 terminated.
Use always sizeof(string) instead of 32, ETHTOOL_BUSINFO_LEN
and custom defines.
Use snprintf instead of sprint.
Remove unnecessary inits of ->fw_version
Remove unnecessary inits of drvinfo struct.

Signed-off-by: Jiri Pirko <jiri at resnulli.us>
Signed-off-by: David S. Miller <davem at davemloft.net>
Signed-off-by: Jesse Gross <jesse at nicira.com>


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

Summary of changes:
 datapath/vport-internal_dev.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)


hooks/post-receive
-- 
Open vSwitch



More information about the git mailing list