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
amcc
caam
ccp
marvell
nx
qat
qce
rockchip
sunxi-ss
ux500
vmx
Kconfig -rw-r--r-- 15.1 KB
Makefile -rw-r--r-- 1.4 KB
atmel-aes-regs.h -rw-r--r-- 2.3 KB
atmel-aes.c -rw-r--r-- 51.2 KB
atmel-sha-regs.h -rw-r--r-- 1.4 KB
atmel-sha.c -rw-r--r-- 36.2 KB
atmel-tdes-regs.h -rw-r--r-- 2.6 KB
atmel-tdes.c -rw-r--r-- 37.7 KB
bfin_crc.c -rw-r--r-- 18.6 KB
bfin_crc.h -rw-r--r-- 3.8 KB
geode-aes.c -rw-r--r-- 13.5 KB
geode-aes.h -rw-r--r-- 1.5 KB
hifn_795x.c -rw-r--r-- 74.9 KB
img-hash.c -rw-r--r-- 24.9 KB
ixp4xx_crypto.c -rw-r--r-- 36.5 KB
mv_cesa.c -rw-r--r-- 29.4 KB
mv_cesa.h -rw-r--r-- 3.9 KB
mxs-dcp.c -rw-r--r-- 26.5 KB
n2_asm.S -rw-r--r-- 1.7 KB
n2_core.c -rw-r--r-- 51.5 KB
n2_core.h -rw-r--r-- 6.1 KB
omap-aes.c -rw-r--r-- 30.7 KB
omap-des.c -rw-r--r-- 28.6 KB
omap-sham.c -rw-r--r-- 50.7 KB
padlock-aes.c -rw-r--r-- 15.0 KB
padlock-sha.c -rw-r--r-- 15.9 KB
picoxcell_crypto.c -rw-r--r-- 51.0 KB
picoxcell_crypto_regs.h -rw-r--r-- 5.1 KB
s5p-sss.c -rw-r--r-- 19.4 KB
sahara.c -rw-r--r-- 41.1 KB
talitos.c -rw-r--r-- 87.1 KB
talitos.h -rw-r--r-- 15.3 KB

back to top