aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/syscall-counts.py
diff options
context:
space:
mode:
authorAndreas Ruprecht <[email protected]>2011-11-27 23:17:40 +0100
committerGreg Kroah-Hartman <[email protected]>2011-11-29 10:12:06 +0900
commitbae5b537539f0c64843fa4b037eafe7808182677 (patch)
treedd2c40649bb293e872a41d0e4d4b22467dade425 /tools/perf/scripts/python/syscall-counts.py
parent19a177e6fb097c2a0dd94aeeb2805f0c04a4185f (diff)
Staging: iio/accel: Changed data type in adis16220_write_16bit to u16
In the adis16220_write_16bit() function we used a long value to store parsed data from the char* buffer buf. The called function to actually write the data, adis16220_spi_write_reg_16(), takes a u16 value as a parameter, so up to now a value larger than u16 was silently ignored as it was only truncated when passing the parameter. Now this function will only accept values fitting into a u16. Additionally the parsing function was changed to overcome the now obsolete strict_strtol() function. Signed-off-by: Andreas Ruprecht <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts.py')
0 files changed, 0 insertions, 0 deletions