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

« back to all changes in this revision

Viewing changes to drivers/net/ethernet/8390/ne2k-pci.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:
639
639
        struct ei_device *ei = netdev_priv(dev);
640
640
        struct pci_dev *pci_dev = (struct pci_dev *) ei->priv;
641
641
 
642
 
        strcpy(info->driver, DRV_NAME);
643
 
        strcpy(info->version, DRV_VERSION);
644
 
        strcpy(info->bus_info, pci_name(pci_dev));
 
642
        strlcpy(info->driver, DRV_NAME, sizeof(info->driver));
 
643
        strlcpy(info->version, DRV_VERSION, sizeof(info->version));
 
644
        strlcpy(info->bus_info, pci_name(pci_dev), sizeof(info->bus_info));
645
645
}
646
646
 
647
647
static const struct ethtool_ops ne2k_pci_ethtool_ops = {