summaryrefslogtreecommitdiff
path: root/scripts/gdb/linux/utils.py
diff options
context:
space:
mode:
authorJonathan Cameron <Jonathan.Cameron@huawei.com>2025-04-13 11:34:28 +0100
committerJonathan Cameron <Jonathan.Cameron@huawei.com>2025-05-21 14:20:25 +0100
commit8f08055bc67a355aca55856cc810b89645506a5f (patch)
treee4cf44d83a4c1556fcefc301430fbfd5aad06f62 /scripts/gdb/linux/utils.py
parent0b9c738f9c4dc27d8ddda15a80360150fb5a1c33 (diff)
iio: introduced iio_push_to_buffers_with_ts() that takes a data_total_len argument.
Check that data_total_len argument against iio_dev->scan_bytes. The size needs to be at least as big as the scan. It can be larger, which is typical if only part of fixed sized storage is used due to a subset of channels being enabled. Reviewed-by: Nuno Sá <nuno.sa@analog.com> Reviewed-by: David Lechner <dlechner@baylibre.com> Link: https://patch.msgid.link/20250413103443.2420727-6-jic23@kernel.org Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Diffstat (limited to 'scripts/gdb/linux/utils.py')
0 files changed, 0 insertions, 0 deletions