Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
iio:adc:vf610 ensure correct handing of interruption of wait for comp…
…letion Issue highlighted by smatch warning: CHECK drivers/iio/adc/vf610_adc.c drivers/iio/adc/vf610_adc.c:466 vf610_read_raw() warn: unsigned 'ret' is never less than zero. As wait_for_completion_interruptible_timeout can return -ERESTARTSTSYS, if interrupted, ret must be signed. Signed-off-by: Jonathan Cameron <[email protected]> Acked-by: Fugang Duan <[email protected]>
- Loading branch information