2
0
mirror of https://github.com/edk2-porting/linux-next.git synced 2024-12-23 20:53:53 +08:00
linux-next/drivers/net/ethernet/smsc
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
..
epic100.c drivers/net: fix up function prototypes after __dev* removals 2012-12-07 14:22:22 -05:00
Kconfig
Makefile
smc91c92_cs.c Remove all #inclusions of asm/system.h 2012-03-28 18:30:03 +01:00
smc91x.c ethtool: fix drvinfo strings set in drivers 2013-01-06 21:06:31 -08:00
smc91x.h net: smc91x: use io{read, write}*_rep accessors instead of string functions 2012-12-10 15:43:58 -05:00
smc911x.c ethtool: fix drvinfo strings set in drivers 2013-01-06 21:06:31 -08:00
smc911x.h net: smc911x: use io{read,write}*_rep accessors 2012-12-11 12:49:53 -05:00
smc9194.c netdev: ethernet dev_alloc_skb to netdev_alloc_skb 2012-02-08 18:46:38 -05:00
smc9194.h
smsc911x.c net: remove unnecessary NET_ADDR_RANDOM "bitclean" 2013-01-03 22:37:36 -08:00
smsc911x.h smsc911x: Unconditionally include linux/smscphy.h in smsc911x.h 2012-01-07 12:22:11 -08:00
smsc9420.c smsc9420: remove __dev* attributes 2012-12-03 11:16:52 -08:00
smsc9420.h