diff options
author | 2016-11-24 16:38:07 +0300 | |
---|---|---|
committer | 2016-11-24 20:09:55 +0000 | |
commit | 0e8d2b0f74c07e68d6fa6ea3113de5735d59d018 (patch) | |
tree | 3129d6649cecada623f07caf7583ad0412b00f61 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | iio: accel: st_accel: inline per-sensor data (diff) | |
download | linux-dev-0e8d2b0f74c07e68d6fa6ea3113de5735d59d018.tar.xz linux-dev-0e8d2b0f74c07e68d6fa6ea3113de5735d59d018.zip |
iio: tsl2583: make array large enough
This array is supposed to have 10 elements. Smatch complains that with
the current code we can have n == max_ints and read beyond the end of
the array.
Fixes: ac4f6eee8fe8 ("staging: iio: TAOS tsl258x: Device driver")
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Acked-by: Brian Masney <masneyb@onstation.org>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions