diff options
Diffstat (limited to 'drivers/net/ethernet/lantiq_etop.c')
-rw-r--r-- | drivers/net/ethernet/lantiq_etop.c | 6 |
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) | |||
302 | static void | 302 | static void |
303 | ltq_etop_get_drvinfo(struct net_device *dev, struct ethtool_drvinfo *info) | 303 | ltq_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 | ||
310 | static int | 310 | static int |