Jonathan Cameron db8fa7311d iio:adc:vf610 ensure correct handing of interruption of wait for completion
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 <jic23@kernel.org>
Acked-by: Fugang Duan <B38611@freescale.com>
2014-03-02 21:45:28 +00:00
..
2013-08-03 18:40:39 +01:00
2014-03-01 21:04:29 +00:00
2014-03-01 21:04:29 +00:00
2014-02-18 08:44:11 +00:00
2013-08-03 18:40:41 +01:00
2013-12-02 16:39:07 -08:00
2014-03-01 21:04:29 +00:00