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
File | Mode | Size |
---|---|---|
Kconfig | -rw-r--r-- | 6.1 KB |
Makefile | -rw-r--r-- | 1.1 KB |
bma180.c | -rw-r--r-- | 20.6 KB |
bmc150-accel-core.c | -rw-r--r-- | 43.6 KB |
bmc150-accel-i2c.c | -rw-r--r-- | 2.6 KB |
bmc150-accel-spi.c | -rw-r--r-- | 2.6 KB |
bmc150-accel.h | -rw-r--r-- | 396 bytes |
hid-sensor-accel-3d.c | -rw-r--r-- | 12.0 KB |
kxcjk-1013.c | -rw-r--r-- | 33.1 KB |
kxsd9.c | -rw-r--r-- | 6.1 KB |
mma7455.h | -rw-r--r-- | 569 bytes |
mma7455_core.c | -rw-r--r-- | 7.2 KB |
mma7455_i2c.c | -rw-r--r-- | 1.3 KB |
mma7455_spi.c | -rw-r--r-- | 1.3 KB |
mma8452.c | -rw-r--r-- | 32.2 KB |
mma9551.c | -rw-r--r-- | 14.7 KB |
mma9551_core.c | -rw-r--r-- | 21.4 KB |
mma9551_core.h | -rw-r--r-- | 2.9 KB |
mma9553.c | -rw-r--r-- | 32.2 KB |
mxc4005.c | -rw-r--r-- | 12.7 KB |
mxc6255.c | -rw-r--r-- | 4.5 KB |
ssp_accel_sensor.c | -rw-r--r-- | 4.5 KB |
st_accel.h | -rw-r--r-- | 1.8 KB |
st_accel_buffer.c | -rw-r--r-- | 2.6 KB |
st_accel_core.c | -rw-r--r-- | 20.3 KB |
st_accel_i2c.c | -rw-r--r-- | 3.1 KB |
st_accel_spi.c | -rw-r--r-- | 1.7 KB |
stk8312.c | -rw-r--r-- | 16.4 KB |
stk8ba50.c | -rw-r--r-- | 14.3 KB |
![swh spinner](/static/img/swh-spinner.gif)
Computing file changes ...