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
host
hotplug
pcie
Kconfig -rw-r--r-- 3.3 KB
Makefile -rw-r--r-- 1.5 KB
access.c -rw-r--r-- 18.1 KB
ats.c -rw-r--r-- 7.8 KB
bus.c -rw-r--r-- 9.4 KB
host-bridge.c -rw-r--r-- 2.3 KB
hotplug-pci.c -rw-r--r-- 702 bytes
htirq.c -rw-r--r-- 3.5 KB
iov.c -rw-r--r-- 17.6 KB
irq.c -rw-r--r-- 1.7 KB
msi.c -rw-r--r-- 35.3 KB
of.c -rw-r--r-- 2.1 KB
pci-acpi.c -rw-r--r-- 19.6 KB
pci-driver.c -rw-r--r-- 35.5 KB
pci-label.c -rw-r--r-- 7.2 KB
pci-stub.c -rw-r--r-- 2.4 KB
pci-sysfs.c -rw-r--r-- 38.8 KB
pci.c -rw-r--r-- 126.0 KB
pci.h -rw-r--r-- 10.6 KB
probe.c -rw-r--r-- 61.5 KB
proc.c -rw-r--r-- 9.1 KB
quirks.c -rw-r--r-- 147.7 KB
remove.c -rw-r--r-- 3.6 KB
rom.c -rw-r--r-- 6.3 KB
search.c -rw-r--r-- 12.0 KB
setup-bus.c -rw-r--r-- 49.6 KB
setup-irq.c -rw-r--r-- 1.8 KB
setup-res.c -rw-r--r-- 10.1 KB
slot.c -rw-r--r-- 10.5 KB
syscall.c -rw-r--r-- 2.6 KB
vc.c -rw-r--r-- 12.2 KB
vpd.c -rw-r--r-- 1.2 KB
xen-pcifront.c -rw-r--r-- 27.4 KB

back to top