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

« back to all changes in this revision

Viewing changes to drivers/net/ethernet/smsc/smsc9420.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:
279
279
{
280
280
        struct smsc9420_pdata *pd = netdev_priv(netdev);
281
281
 
282
 
        strcpy(drvinfo->driver, DRV_NAME);
283
 
        strcpy(drvinfo->bus_info, pci_name(pd->pdev));
284
 
        strcpy(drvinfo->version, DRV_VERSION);
 
282
        strlcpy(drvinfo->driver, DRV_NAME, sizeof(drvinfo->driver));
 
283
        strlcpy(drvinfo->bus_info, pci_name(pd->pdev),
 
284
                sizeof(drvinfo->bus_info));
 
285
        strlcpy(drvinfo->version, DRV_VERSION, sizeof(drvinfo->version));
285
286
}
286
287
 
287
288
static u32 smsc9420_ethtool_get_msglevel(struct net_device *netdev)