OpenCloudOS-Kernel/drivers/net/ethernet/cirrus
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
..
Kconfig CS89x0 : add platform driver support 2012-02-01 16:49:50 +01:00
Makefile net/ethernet: Move mac89x0.c from apple to cirrus 2011-11-01 19:30:38 -04:00
cs89x0.c cs89x0 : packet reception not working 2012-08-31 15:48:56 -04:00
cs89x0.h cs89x0: Move the driver into the Cirrus dir 2011-10-18 23:41:43 -04:00
ep93xx_eth.c ethtool: fix drvinfo strings set in drivers 2013-01-06 21:06:31 -08:00
mac89x0.c Remove all #inclusions of asm/system.h 2012-03-28 18:30:03 +01:00