summaryrefslogtreecommitdiff
path: root/include/linux
diff options
context:
space:
mode:
authorDavid Lechner <dlechner@baylibre.com>2026-03-07 19:44:10 -0600
committerJonathan Cameron <jic23@kernel.org>2026-04-27 09:58:15 +0100
commit78abd04ea19608dc8a025ba5b95cd21c5a86d3e6 (patch)
treeea979bde7e0124210bccde030df0576e82a885ef /include/linux
parent254f49634ee16a731174d2ae34bc50bd5f45e731 (diff)
iio: buffer: check return value of iio_compute_scan_bytes()
Check return value of iio_compute_scan_bytes() as it can return an error. The result is moved to an output parameter while we are touching this as we will need to add a second output parameter in a later change. The return type of iio_buffer_update_bytes_per_datum() also had to be changed to propagate the error. Signed-off-by: David Lechner <dlechner@baylibre.com> Reviewed-by: Nuno Sá <nuno.sa@analog.com> Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions