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

« back to all changes in this revision

Viewing changes to drivers/net/ethernet/realtek/8139too.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:
2330
2330
static void rtl8139_get_drvinfo(struct net_device *dev, struct ethtool_drvinfo *info)
2331
2331
{
2332
2332
        struct rtl8139_private *tp = netdev_priv(dev);
2333
 
        strcpy(info->driver, DRV_NAME);
2334
 
        strcpy(info->version, DRV_VERSION);
2335
 
        strcpy(info->bus_info, pci_name(tp->pci_dev));
 
2333
        strlcpy(info->driver, DRV_NAME, sizeof(info->driver));
 
2334
        strlcpy(info->version, DRV_VERSION, sizeof(info->version));
 
2335
        strlcpy(info->bus_info, pci_name(tp->pci_dev), sizeof(info->bus_info));
2336
2336
        info->regdump_len = tp->regs_len;
2337
2337
}
2338
2338