Jiri Pirko
7826d43f2d
ethtool: fix drvinfo strings set in drivers
...
Use strlcpy where possible to ensure the string is \0 terminated.
Use always sizeof(string) instead of 32, ETHTOOL_BUSINFO_LEN
and custom defines.
Use snprintf instead of sprint.
Remove unnecessary inits of ->fw_version
Remove unnecessary inits of drvinfo struct.
Signed-off-by: Jiri Pirko <jiri@resnulli.us>
Signed-off-by: David S. Miller <davem@davemloft.net>
2013-01-06 21:06:31 -08:00
..
2009-12-21 18:56:10 -05:00
2012-11-07 17:57:14 +01:00
2012-12-04 20:51:27 +01:00
2012-11-05 16:33:45 +01:00
2012-11-30 13:42:20 +01:00
2009-12-21 18:56:10 -05:00
2012-04-05 15:25:50 -07:00
2009-10-30 16:49:18 -04:00
2013-01-06 21:06:31 -08:00
2009-10-07 16:39:49 -04:00
2012-01-04 14:30:41 -05:00
2012-11-26 12:42:59 +01:00
2012-11-16 14:29:09 -05:00
2012-05-15 13:45:03 -04:00
2012-05-15 13:45:03 -04:00
2011-09-13 15:45:02 -04:00
2011-08-09 15:42:36 -04:00
2012-10-18 10:53:37 +02:00
2012-12-03 11:24:49 +01:00
2012-11-26 12:42:58 +01:00
2012-11-30 13:42:20 +01:00
2012-11-26 12:42:58 +01:00
2012-08-20 13:53:09 +02:00
2012-11-26 12:42:58 +01:00
2012-12-22 00:03:00 -08:00
2012-11-30 13:42:20 +01:00
2012-01-04 14:30:41 -05:00
2012-11-30 13:42:20 +01:00
2012-11-30 13:42:20 +01:00
2012-12-22 00:03:00 -08:00
2012-10-18 10:53:37 +02:00
2012-11-26 12:48:17 +01:00
2012-11-30 13:42:20 +01:00
2012-12-07 11:58:26 +01:00
2011-08-08 14:26:29 -04:00
2012-09-05 16:12:44 +02:00
2010-09-20 13:41:40 -04:00
2010-01-17 19:16:02 -08:00
2012-11-30 13:42:20 +01:00
2012-05-09 20:49:19 -04:00