WSL2-Linux-Kernel/drivers/infiniband/ulp
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
..
ipoib ethtool: fix drvinfo strings set in drivers 2013-01-06 21:06:31 -08:00
iser IB/iser: Add more RX CQs to scale out processing of SCSI responses 2012-10-03 21:26:49 -07:00
srp IB/srp: Allow SRP disconnect through sysfs 2012-11-30 17:40:33 -08:00
srpt ib_srpt: Convert TMR path to target_submit_tmr 2012-11-28 11:20:28 -08:00