~ubuntu-branches/ubuntu/precise/linux-lowlatency/precise-proposed

« back to all changes in this revision

Viewing changes to drivers/net/ethernet/fealnx.c

  • Committer: Package Import Robot
  • Author(s): Luke Yelavich, Luke Yelavich, Upstream Kernel Changes
  • Date: 2012-04-04 18:49:36 UTC
  • Revision ID: package-import@ubuntu.com-20120404184936-tqu735914muv4wpg
Tags: 3.2.0-22.30
[ Luke Yelavich ]

* [Config] Update configs after rebase against Ubuntu-3.2.0-22.35

[ Upstream Kernel Changes ]

* Low-latency: Rebase against Ubuntu-3.2.0-22.35

Show diffs side-by-side

added added

removed removed

Lines of Context:
1818
1818
{
1819
1819
        struct netdev_private *np = netdev_priv(dev);
1820
1820
 
1821
 
        strcpy(info->driver, DRV_NAME);
1822
 
        strcpy(info->version, DRV_VERSION);
1823
 
        strcpy(info->bus_info, pci_name(np->pci_dev));
 
1821
        strlcpy(info->driver, DRV_NAME, sizeof(info->driver));
 
1822
        strlcpy(info->version, DRV_VERSION, sizeof(info->version));
 
1823
        strlcpy(info->bus_info, pci_name(np->pci_dev), sizeof(info->bus_info));
1824
1824
}
1825
1825
 
1826
1826
static int netdev_get_settings(struct net_device *dev, struct ethtool_cmd *cmd)