aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/sis/sis190.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/net/ethernet/sis/sis190.c')
-rw-r--r--drivers/net/ethernet/sis/sis190.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/drivers/net/ethernet/sis/sis190.c b/drivers/net/ethernet/sis/sis190.c
index 1b4658c99391..220e98219a3b 100644
--- a/drivers/net/ethernet/sis/sis190.c
+++ b/drivers/net/ethernet/sis/sis190.c
@@ -1760,9 +1760,10 @@ static void sis190_get_drvinfo(struct net_device *dev,
1760{ 1760{
1761 struct sis190_private *tp = netdev_priv(dev); 1761 struct sis190_private *tp = netdev_priv(dev);
1762 1762
1763 strcpy(info->driver, DRV_NAME); 1763 strlcpy(info->driver, DRV_NAME, sizeof(info->driver));
1764 strcpy(info->version, DRV_VERSION); 1764 strlcpy(info->version, DRV_VERSION, sizeof(info->version));
1765 strcpy(info->bus_info, pci_name(tp->pci_dev)); 1765 strlcpy(info->bus_info, pci_name(tp->pci_dev),
1766 sizeof(info->bus_info));
1766} 1767}
1767 1768
1768static int sis190_get_regs_len(struct net_device *dev) 1769static int sis190_get_regs_len(struct net_device *dev)