summaryrefslogtreecommitdiff
path: root/rust/helpers/binder.c
diff options
context:
space:
mode:
authorQianfeng Rong <rongqianfeng@vivo.com>2025-09-01 21:57:26 +0800
committerJonathan Cameron <Jonathan.Cameron@huawei.com>2025-09-01 20:43:43 +0100
commit3379c900320954d768ed9903691fb2520926bbe3 (patch)
tree5dd84302e1883d5a221ba35a31cf7e4676dc354a /rust/helpers/binder.c
parentf9381ece76de999a2065d5b4fdd87fa17883978c (diff)
iio: dac: ad5421: use int type to store negative error codes
Change the 'ret' variable in ad5421_update_ctrl() from unsigned int to int, as it needs to store either negative error codes or zero returned by ad5421_write_unlocked(). Fixes: 5691b23489db ("staging:iio:dac: Add AD5421 driver") Signed-off-by: Qianfeng Rong <rongqianfeng@vivo.com> Reviewed-by: Andy Shevchenko <andriy.shevchenko@intel.com> Link: https://patch.msgid.link/20250901135726.17601-3-rongqianfeng@vivo.com Cc: <Stable@vger.kernel.org> Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Diffstat (limited to 'rust/helpers/binder.c')
0 files changed, 0 insertions, 0 deletions