Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 311361
b: refs/heads/master
c: 86a2f41
h: refs/heads/master
i:
  311359: f286e50
v: v3
  • Loading branch information
Phil Sutter authored and David S. Miller committed Jun 17, 2012
1 parent a8c2a09 commit 1f2520a
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 0b3f0e7ae0765c81c7d659811595ea5058ae05a7
refs/heads/master: 86a2f415e6cdc5dbb2163b31abf4d36f26f7e3da
6 changes: 3 additions & 3 deletions trunk/drivers/net/usb/usbnet.c
Original file line number Diff line number Diff line change
Expand Up @@ -876,9 +876,9 @@ void usbnet_get_drvinfo (struct net_device *net, struct ethtool_drvinfo *info)
{
struct usbnet *dev = netdev_priv(net);

strncpy (info->driver, dev->driver_name, sizeof info->driver);
strncpy (info->version, DRIVER_VERSION, sizeof info->version);
strncpy (info->fw_version, dev->driver_info->description,
strlcpy (info->driver, dev->driver_name, sizeof info->driver);
strlcpy (info->version, DRIVER_VERSION, sizeof info->version);
strlcpy (info->fw_version, dev->driver_info->description,
sizeof info->fw_version);
usb_make_path (dev->udev, info->bus_info, sizeof info->bus_info);
}
Expand Down

0 comments on commit 1f2520a

Please sign in to comment.