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
.gitignore -rw-r--r-- 88 bytes
Kconfig -rw-r--r-- 14.1 KB
Makefile -rw-r--r-- 981 bytes
adummy.c -rw-r--r-- 4.0 KB
ambassador.c -rw-r--r-- 66.1 KB
ambassador.h -rw-r--r-- 15.8 KB
atmtcp.c -rw-r--r-- 11.4 KB
eni.c -rw-r--r-- 61.4 KB
eni.h -rw-r--r-- 4.6 KB
firestream.c -rw-r--r-- 54.0 KB
firestream.h -rw-r--r-- 14.6 KB
fore200e.c -rw-r--r-- 88.6 KB
fore200e.h -rw-r--r-- 38.6 KB
he.c -rw-r--r-- 76.1 KB
he.h -rw-r--r-- 19.8 KB
horizon.c -rw-r--r-- 83.0 KB
horizon.h -rw-r--r-- 16.7 KB
idt77105.c -rw-r--r-- 11.3 KB
idt77105.h -rw-r--r-- 3.7 KB
idt77252.c -rw-r--r-- 89.8 KB
idt77252.h -rw-r--r-- 33.6 KB
idt77252_tables.h -rw-r--r-- 44.9 KB
iphase.c -rw-r--r-- 108.1 KB
iphase.h -rw-r--r-- 53.4 KB
lanai.c -rw-r--r-- 80.6 KB
midway.h -rw-r--r-- 7.5 KB
nicstar.c -rw-r--r-- 72.3 KB
nicstar.h -rw-r--r-- 22.9 KB
nicstarmac.c -rw-r--r-- 6.0 KB
nicstarmac.copyright -rw-r--r-- 2.7 KB
solos-attrlist.c -rw-r--r-- 2.2 KB
solos-pci.c -rw-r--r-- 39.4 KB
suni.c -rw-r--r-- 9.8 KB
suni.h -rw-r--r-- 9.7 KB
tonga.h -rw-r--r-- 694 bytes
uPD98401.h -rw-r--r-- 11.7 KB
uPD98402.c -rw-r--r-- 6.5 KB
uPD98402.h -rw-r--r-- 4.4 KB
zatm.c -rw-r--r-- 43.4 KB
zatm.h -rw-r--r-- 3.5 KB
zeprom.h -rw-r--r-- 944 bytes

back to top