summaryrefslogtreecommitdiff
path: root/scripts/gdb/linux/utils.py
diff options
context:
space:
mode:
authorDavid Lechner <dlechner@baylibre.com>2025-07-01 16:37:49 -0500
committerJonathan Cameron <Jonathan.Cameron@huawei.com>2025-07-13 15:36:24 +0100
commit5a2f15c5a8e017d0951e6dc62aa7b5b634f56881 (patch)
treea3b728132215857a9eb45e4dff3a803e33e6019b /scripts/gdb/linux/utils.py
parent7bf7b62ee997384865fcedd314463c1507617361 (diff)
iio: adc: ad_sigma_delta: don't overallocate scan buffer
Fix overallocating the size of the scan buffer by converting bits to bytes. The size is meant to be in bytes, so scanbits needs to be divided by 8. Signed-off-by: David Lechner <dlechner@baylibre.com> Reviewed-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Nuno Sá <nuno.sa@analog.com> Link: https://patch.msgid.link/20250701-iio-adc-ad7173-add-spi-offload-support-v3-1-42abb83e3dac@baylibre.com Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Diffstat (limited to 'scripts/gdb/linux/utils.py')
0 files changed, 0 insertions, 0 deletions