summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorHaotian Zhang <vulab@iscas.ac.cn>2025-12-03 08:08:44 +0300
committerJonathan Cameron <Jonathan.Cameron@huawei.com>2025-12-21 14:14:09 +0300
commitc5512e016817a150fd6de97fbb3e74aa799ea3c1 (patch)
treebbeebd906f071efece49d9ba53f025b7beaa8d83 /scripts
parent6b39824ac4c15783787e6434449772bfb2e31214 (diff)
downloadlinux-c5512e016817a150fd6de97fbb3e74aa799ea3c1.tar.xz
iio: adc: ad7606: Fix incorrect type for error return variable
The variable ret is declared as unsigned int but is used to store return values from functions returning int, which may be negative error codes. Change ret from unsigned int to int. Fixes: 849cebf8dc67 ("iio: adc: ad7606: Add iio-backend support") Signed-off-by: Haotian Zhang <vulab@iscas.ac.cn> Reviewed-by: Andy Shevchenko <andy@kernel.org> Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions