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
Makefile -rw-r--r-- 597 bytes
clk-a10-codec.c -rw-r--r-- 1.3 KB
clk-a10-hosc.c -rw-r--r-- 1.9 KB
clk-a10-mod1.c -rw-r--r-- 2.0 KB
clk-a10-pll2.c -rw-r--r-- 5.6 KB
clk-a10-ve.c -rw-r--r-- 4.0 KB
clk-a20-gmac.c -rw-r--r-- 3.6 KB
clk-factors.c -rw-r--r-- 6.5 KB
clk-factors.h -rw-r--r-- 886 bytes
clk-mod0.c -rw-r--r-- 9.3 KB
clk-simple-gates.c -rw-r--r-- 5.8 KB
clk-sun6i-apb0-gates.c -rw-r--r-- 3.0 KB
clk-sun6i-apb0.c -rw-r--r-- 2.0 KB
clk-sun6i-ar100.c -rw-r--r-- 5.7 KB
clk-sun8i-apb0.c -rw-r--r-- 2.9 KB
clk-sun8i-bus-gates.c -rw-r--r-- 3.0 KB
clk-sun8i-mbus.c -rw-r--r-- 2.1 KB
clk-sun9i-core.c -rw-r--r-- 7.2 KB
clk-sun9i-cpus.c -rw-r--r-- 6.2 KB
clk-sun9i-mmc.c -rw-r--r-- 5.7 KB
clk-sunxi.c -rw-r--r-- 29.7 KB
clk-usb.c -rw-r--r-- 7.0 KB

back to top