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
libfdt
.gitignore -rw-r--r-- 54 bytes
Makefile -rw-r--r-- 1.0 KB
Makefile.dtc -rw-r--r-- 372 bytes
checks.c -rw-r--r-- 20.1 KB
data.c -rw-r--r-- 5.2 KB
dtc-lexer.l -rw-r--r-- 6.3 KB
dtc-lexer.lex.c_shipped -rw-r--r-- 58.4 KB
dtc-parser.tab.c_shipped -rw-r--r-- 69.1 KB
dtc-parser.tab.h_shipped -rw-r--r-- 3.1 KB
dtc-parser.y -rw-r--r-- 8.9 KB
dtc.c -rw-r--r-- 7.0 KB
dtc.h -rw-r--r-- 7.3 KB
fdtdump.c -rw-r--r-- 3.6 KB
fdtget.c -rw-r--r-- 8.6 KB
fdtput.c -rw-r--r-- 8.3 KB
flattree.c -rw-r--r-- 21.9 KB
fstree.c -rw-r--r-- 2.2 KB
livetree.c -rw-r--r-- 13.6 KB
srcpos.c -rw-r--r-- 7.3 KB
srcpos.h -rw-r--r-- 3.6 KB
treesource.c -rw-r--r-- 6.0 KB
update-dtc-source.sh -rwxr-xr-x 2.2 KB
util.c -rw-r--r-- 8.7 KB
util.h -rw-r--r-- 7.4 KB
version_gen.h -rw-r--r-- 42 bytes

back to top