Ben Hutchings 786f528119 ethtool: Null-terminate filename passed to ethtool_ops::flash_device
The parameters for ETHTOOL_FLASHDEV include a filename, which ought to
be null-terminated.  Currently the only driver that implements
ethtool_ops::flash_device attempts to add a null terminator if
necessary, but does it wrongly.  Do it in the ethtool core instead.

Signed-off-by: Ben Hutchings <bhutchings@solarflare.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2012-02-01 14:47:17 -05:00
..
2011-10-19 03:10:46 -04:00
2010-07-12 12:57:55 -07:00
2012-01-26 13:36:19 -05:00
2010-11-28 18:24:14 -08:00
2012-01-17 10:31:12 -05:00
2011-12-16 15:49:51 -05:00