OpenCloudOS-Kernel/drivers/net/ethernet/ibm/emac
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
Makefile net: fix IBM EMAC driver after rename. 2011-08-18 21:33:49 -07:00
core.c ethtool: fix drvinfo strings set in drivers 2013-01-06 21:06:31 -08:00
core.h powerpc/44x: Add more changes for APM821XX EMAC driver 2012-03-06 17:07:42 -05:00
debug.c drivers/net: fix up stale paths from driver reorg 2012-01-30 12:54:40 -05:00
debug.h drivers/net: fix up stale paths from driver reorg 2012-01-30 12:54:40 -05:00
emac.h powerpc/44x: Add more changes for APM821XX EMAC driver 2012-03-06 17:07:42 -05:00
mal.c drivers/net: fix up function prototypes after __dev* removals 2012-12-07 14:22:22 -05:00
mal.h drivers/net: fix up stale paths from driver reorg 2012-01-30 12:54:40 -05:00
phy.c drivers/net: fix up stale paths from driver reorg 2012-01-30 12:54:40 -05:00
phy.h drivers/net: fix up stale paths from driver reorg 2012-01-30 12:54:40 -05:00
rgmii.c ibm/emac: remove __dev* attributes 2012-12-03 11:16:43 -08:00
rgmii.h drivers/net: fix up stale paths from driver reorg 2012-01-30 12:54:40 -05:00
tah.c ibm/emac: remove __dev* attributes 2012-12-03 11:16:43 -08:00
tah.h drivers/net: fix up stale paths from driver reorg 2012-01-30 12:54:40 -05:00
zmii.c ibm/emac: remove __dev* attributes 2012-12-03 11:16:43 -08:00
zmii.h drivers/net: fix up stale paths from driver reorg 2012-01-30 12:54:40 -05:00