summaryrefslogtreecommitdiff
path: root/include
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
parent254f49634ee16a731174d2ae34bc50bd5f45e731 (diff)
downloadlinux-stable-78abd04ea19608dc8a025ba5b95cd21c5a86d3e6.tar.gz
linux-stable-78abd04ea19608dc8a025ba5b95cd21c5a86d3e6.zip
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')
0 files changed, 0 insertions, 0 deletions