aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/lantiq_etop.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/net/ethernet/lantiq_etop.c')
-rw-r--r--drivers/net/ethernet/lantiq_etop.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/net/ethernet/lantiq_etop.c b/drivers/net/ethernet/lantiq_etop.c
index cd3d2c09cdd0..8ead46adc21e 100644
--- a/drivers/net/ethernet/lantiq_etop.c
+++ b/drivers/net/ethernet/lantiq_etop.c
@@ -302,9 +302,9 @@ ltq_etop_hw_init(struct net_device *dev)
302static void 302static void
303ltq_etop_get_drvinfo(struct net_device *dev, struct ethtool_drvinfo *info) 303ltq_etop_get_drvinfo(struct net_device *dev, struct ethtool_drvinfo *info)
304{ 304{
305 strcpy(info->driver, "Lantiq ETOP"); 305 strlcpy(info->driver, "Lantiq ETOP", sizeof(info->driver));
306 strcpy(info->bus_info, "internal"); 306 strlcpy(info->bus_info, "internal", sizeof(info->bus_info));
307 strcpy(info->version, DRV_VERSION); 307 strlcpy(info->version, DRV_VERSION, sizeof(info->version));
308} 308}
309 309
310static int 310static int