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
..
2012-06-20 22:15:33 +02:00
2012-12-26 14:13:23 -08:00
2012-10-29 09:42:34 +01:00
2012-09-19 15:49:53 -04:00
2012-11-21 12:35:45 +01:00
2012-11-21 12:35:45 +01:00
2012-11-21 12:34:49 +01:00
2012-07-01 22:47:22 +02:00
2012-11-07 20:00:23 +01:00
2012-11-07 20:00:23 +01:00
2012-10-29 09:42:29 +01:00
2012-07-01 22:47:21 +02:00
2012-07-01 22:47:21 +02:00
2012-07-01 22:47:18 +02:00
2012-11-30 10:50:22 +01:00
2012-07-01 22:47:21 +02:00
2012-07-01 22:47:23 +02:00
2012-11-14 21:00:32 +01:00
2012-11-07 20:00:16 +01:00
2012-07-01 22:47:21 +02:00
2012-11-21 12:35:41 +01:00
2012-11-21 12:35:41 +01:00
2012-11-21 12:35:46 +01:00
2012-11-07 20:00:22 +01:00
2012-11-14 21:00:35 +01:00
2012-07-01 22:47:21 +02:00
2012-11-30 10:50:22 +01:00
2012-06-28 08:45:05 +02:00
2012-06-20 22:15:33 +02:00
2012-11-21 12:35:45 +01:00
2012-07-01 22:47:21 +02:00
2012-11-30 10:50:22 +01:00
2012-11-21 12:34:50 +01:00
2013-01-06 21:06:31 -08:00
2012-08-23 14:20:22 +02:00
2012-11-14 21:00:37 +01:00
2012-07-01 22:47:22 +02:00
2012-11-21 12:34:50 +01:00
2012-11-14 21:00:35 +01:00
2012-11-21 12:35:45 +01:00
2012-11-21 12:34:50 +01:00
2012-11-07 20:00:19 +01:00
2012-11-21 12:34:50 +01:00
2012-08-23 14:02:45 +02:00