summaryrefslogtreecommitdiff
path: root/include/linux/securebits.h
diff options
context:
space:
mode:
authorSalah Triki <salah.triki@gmail.com>2026-05-07 20:07:51 +0100
committerJonathan Cameron <jic23@kernel.org>2026-05-15 12:05:35 +0100
commit422b5bbf333f75fb486855ad0eedc23cf21f3277 (patch)
tree077671fe0fe1e7e7f5faf8f0eb9351546021cd45 /include/linux/securebits.h
parent6bdc3023d62ed5c7d591f0eb27a5adb37fb892ae (diff)
iio: adc: viperboard: Fix error handling in vprbrd_iio_read_raw
The driver proceeds to the reception phase even if the preceding transmission fails. This uses a goto error label for an early bail out and ensures the mutex is properly unlocked in case of failure. Fixes: ffd8a6e7a778 ("iio: adc: Add viperboard adc driver") Signed-off-by: Salah Triki <salah.triki@gmail.com> Reviewed-by: Joshua Crofts <joshua.crofts1@gmail.com> Reviewed-by: Maxwell Doose <m32285159@gmail.com> Reviewed-by: Nuno Sá <nuno.sa@analog.com> Cc: <Stable@vger.kernel.org> Signed-off-by: Jonathan Cameron <jic23@kernel.org>
Diffstat (limited to 'include/linux/securebits.h')
0 files changed, 0 insertions, 0 deletions