Revision 1003e19c466dc37812b5f88b2d5308ee63bb3fa0 authored by Steve Wise on 18 February 2016, 14:34:24 UTC, committed by David S. Miller on 19 February 2016, 20:49:31 UTC
The vpd strings are left justified, in a fixed length array, with possible
trailing white space and no NUL.  So fix them up before calling kstrto*().

This is a recent regression which causes cxgb3 to fail to load.

Fixes: e72c932 ("cxgb3: Convert simple_strtoul to kstrtox")

Signed-off-by: Steve Wise <swise@opengridcomputing.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
1 parent c868ee7
History
File Mode Size
appletalk
arcnet
bonding
caif
can
cris
dsa
ethernet
fddi
fjes
hamradio
hippi
hyperv
ieee802154
ipvlan
irda
phy
plip
ppp
slip
team
usb
vmxnet3
wan
wimax
wireless
xen-netback
Kconfig -rw-r--r-- 14.1 KB
LICENSE.SRC -rw-r--r-- 891 bytes
Makefile -rw-r--r-- 2.0 KB
Space.c -rw-r--r-- 4.1 KB
dummy.c -rw-r--r-- 5.5 KB
eql.c -rw-r--r-- 14.6 KB
geneve.c -rw-r--r-- 38.1 KB
ifb.c -rw-r--r-- 8.5 KB
loopback.c -rw-r--r-- 5.6 KB
macvlan.c -rw-r--r-- 40.0 KB
macvtap.c -rw-r--r-- 32.3 KB
mdio.c -rw-r--r-- 11.9 KB
mii.c -rw-r--r-- 12.3 KB
netconsole.c -rw-r--r-- 24.8 KB
nlmon.c -rw-r--r-- 3.9 KB
ntb_netdev.c -rw-r--r-- 12.3 KB
rionet.c -rw-r--r-- 15.7 KB
sb1000.c -rw-r--r-- 31.3 KB
sungem_phy.c -rw-r--r-- 29.7 KB
tun.c -rw-r--r-- 56.4 KB
veth.c -rw-r--r-- 11.7 KB
virtio_net.c -rw-r--r-- 52.1 KB
vrf.c -rw-r--r-- 21.7 KB
vxlan.c -rw-r--r-- 82.4 KB
xen-netfront.c -rw-r--r-- 53.8 KB

back to top