aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/amd/sunlance.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/net/ethernet/amd/sunlance.c')
-rw-r--r--drivers/net/ethernet/amd/sunlance.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/net/ethernet/amd/sunlance.c b/drivers/net/ethernet/amd/sunlance.c
index c2d696c88e46..6a40290d3727 100644
--- a/drivers/net/ethernet/amd/sunlance.c
+++ b/drivers/net/ethernet/amd/sunlance.c
@@ -1284,8 +1284,8 @@ static void lance_free_hwresources(struct lance_private *lp)
1284/* Ethtool support... */ 1284/* Ethtool support... */
1285static void sparc_lance_get_drvinfo(struct net_device *dev, struct ethtool_drvinfo *info) 1285static void sparc_lance_get_drvinfo(struct net_device *dev, struct ethtool_drvinfo *info)
1286{ 1286{
1287 strcpy(info->driver, "sunlance"); 1287 strlcpy(info->driver, "sunlance", sizeof(info->driver));
1288 strcpy(info->version, "2.02"); 1288 strlcpy(info->version, "2.02", sizeof(info->version));
1289} 1289}
1290 1290
1291static const struct ethtool_ops sparc_lance_ethtool_ops = { 1291static const struct ethtool_ops sparc_lance_ethtool_ops = {