diff options
author | Jonathan Cameron <[email protected]> | 2020-09-20 12:27:41 +0100 |
---|---|---|
committer | Jonathan Cameron <[email protected]> | 2020-12-03 19:40:28 +0000 |
commit | b0bd27f02d768e3a861c4e6c27f8e369720e6c25 (patch) | |
tree | de428eefa64fd77244fdc404417bf909c5be16b8 /scripts/gdb/linux/tasks.py | |
parent | 198cf32f0503d2ad60d320b95ef6fb8243db857f (diff) |
iio:adc:ti-ads124s08: Fix buffer being too long.
The buffer is expressed as a u32 array, yet the extra space for
the s64 timestamp was expressed as sizeof(s64)/sizeof(u16).
This will result in 2 extra u32 elements.
Fix by dividing by sizeof(u32).
Fixes: e717f8c6dfec ("iio: adc: Add the TI ads124s08 ADC code")
Signed-off-by: Jonathan Cameron<[email protected]>
Reviewed-by: Alexandru Ardelean <[email protected]>
Cc: Dan Murphy <[email protected]>
Cc: <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'scripts/gdb/linux/tasks.py')
0 files changed, 0 insertions, 0 deletions