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-10-22 18:19:36 +10:30
2012-05-15 20:23:16 -04:00
2013-01-06 21:06:31 -08:00
2012-08-14 21:48:06 -07:00
2012-12-17 20:50:51 -08:00
2012-08-14 21:49:42 -07:00
2013-01-06 21:06:31 -08:00
2012-12-13 12:00:48 -08:00
2013-01-06 21:06:31 -08:00
2012-12-09 00:34:02 -05:00
2012-12-13 12:00:02 -08:00
2012-12-20 14:00:13 -08:00
2013-01-06 21:05:02 -08:00
2012-12-10 14:09:01 -05:00
2012-12-14 13:14:07 -05:00
2012-11-18 20:32:44 -05:00
2012-12-16 15:40:50 -08:00
2013-01-06 21:06:31 -08:00
2013-01-03 22:37:36 -08:00
2012-11-30 12:19:24 -05:00
2012-12-28 20:32:36 -08:00
2013-01-04 15:16:44 -08:00
2012-08-14 21:48:06 -07:00
2012-12-11 14:08:47 -08:00
2012-06-15 15:30:15 -07:00
2012-11-18 20:32:45 -05:00
2012-11-10 18:32:51 -05:00
2012-05-17 18:45:20 -04:00
2012-11-18 20:32:45 -05:00
2012-12-13 12:00:02 -08:00
2012-12-14 13:14:07 -05:00
2012-12-13 12:00:02 -08:00
2012-10-02 13:38:27 -07:00
2012-12-17 20:50:51 -08:00
2012-09-21 13:58:08 -04:00
2012-12-13 12:58:10 -05:00
2013-01-06 21:06:31 -08:00
2012-11-18 20:32:45 -05:00
2012-11-18 20:32:44 -05:00
2012-12-26 15:17:37 -08:00
2012-12-13 12:00:02 -08:00
2012-04-20 21:22:30 -04:00
2012-10-14 13:39:34 -07:00
2012-12-22 00:03:00 -08:00
2012-12-28 20:32:36 -08:00
2012-12-20 14:04:11 -08:00
2012-12-07 17:23:24 -05:00
2012-11-18 20:30:55 -05:00
2012-07-24 13:55:21 -07:00
2012-04-15 12:44:40 -04:00
2013-01-06 21:06:31 -08:00
2012-07-10 23:13:45 -07:00
2012-11-22 15:25:55 -05:00
2012-09-26 21:10:25 -04:00
2012-09-04 14:20:14 -04:00
2012-11-18 02:34:00 -05:00
2012-10-26 03:40:51 -04:00
2012-11-18 20:32:45 -05:00