linux-stable/drivers/net/ethernet/8390
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
..
3c503.c ethtool: fix drvinfo strings set in drivers 2013-01-06 21:06:31 -08:00
3c503.h
8390.c
8390.h ethernet: Convert ETHER_ADDR_LEN uses to ETH_ALEN 2011-11-16 20:23:17 -05:00
8390p.c
ac3200.c Remove all #inclusions of asm/system.h 2012-03-28 18:30:03 +01:00
apne.c ethernet: Remove casts to same type 2012-06-06 09:31:33 -07:00
ax88796.c ethtool: fix drvinfo strings set in drivers 2013-01-06 21:06:31 -08:00
axnet_cs.c Remove all #inclusions of asm/system.h 2012-03-28 18:30:03 +01:00
e2100.c Remove all #inclusions of asm/system.h 2012-03-28 18:30:03 +01:00
es3210.c Remove all #inclusions of asm/system.h 2012-03-28 18:30:03 +01:00
etherh.c 8390: remove __dev* attributes 2012-12-03 11:16:32 -08:00
hp-plus.c Remove all #inclusions of asm/system.h 2012-03-28 18:30:03 +01:00
hp.c Remove all #inclusions of asm/system.h 2012-03-28 18:30:03 +01:00
hydra.c drivers/net: fix up function prototypes after __dev* removals 2012-12-07 14:22:22 -05:00
Kconfig net: add support for NS8390 based eth controllers on some ColdFire CPU boards 2012-07-12 07:54:45 -07:00
lib8390.c Remove all #inclusions of asm/system.h 2012-03-28 18:30:03 +01:00
lne390.c Remove all #inclusions of asm/system.h 2012-03-28 18:30:03 +01:00
mac8390.c Remove all #inclusions of asm/system.h 2012-03-28 18:30:03 +01:00
Makefile net: add support for NS8390 based eth controllers on some ColdFire CPU boards 2012-07-12 07:54:45 -07:00
mcf8390.c net: add support for NS8390 based eth controllers on some ColdFire CPU boards 2012-07-12 07:54:45 -07:00
ne-h8300.c Remove all #inclusions of asm/system.h 2012-03-28 18:30:03 +01:00
ne.c ne2000: add the right platform device 2012-11-20 13:48:49 -05:00
ne2k-pci.c 8390: remove __dev* attributes 2012-12-03 11:16:32 -08:00
ne3210.c 8390: remove __dev* attributes 2012-12-03 11:16:32 -08:00
pcnet_cs.c Remove all #inclusions of asm/system.h 2012-03-28 18:30:03 +01:00
smc-ultra.c Remove all #inclusions of asm/system.h 2012-03-28 18:30:03 +01:00
smc-ultra32.c Remove all #inclusions of asm/system.h 2012-03-28 18:30:03 +01:00
stnic.c Remove all #inclusions of asm/system.h 2012-03-28 18:30:03 +01:00
wd.c Remove all #inclusions of asm/system.h 2012-03-28 18:30:03 +01:00
zorro8390.c drivers/net: fix up function prototypes after __dev* removals 2012-12-07 14:22:22 -05:00