summaryrefslogtreecommitdiff
path: root/scripts/gdb/linux/utils.py
diff options
context:
space:
mode:
authorJonathan Cameron <Jonathan.Cameron@huawei.com>2025-04-13 11:34:32 +0100
committerJonathan Cameron <Jonathan.Cameron@huawei.com>2025-05-21 14:20:26 +0100
commitc65d3f3f938600345146df9f5cac7681c9f1b15e (patch)
tree236e000b356fce8f36bee5301478840a7d2e0e88 /scripts/gdb/linux/utils.py
parent4d15307225ff15ed7352c01e570fdcca9bf0fe2c (diff)
iio: adc: Use iio_push_to_buffers_with_ts() to provide length for runtime checks.
This new function allows us to perform debug checks in the helper to ensure that the overrun does not occur. Use it in all the simple cases where either a static buffer or a structure is used in the drivers. Reviewed-by: David Lechner <dlechner@baylibre.com> Link: https://patch.msgid.link/20250413103443.2420727-10-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