commit | ed6e75c7dc5627c7251002936577052ae73ac2db | [log] [tgz] |
---|---|---|
author | Dan Carpenter <dan.carpenter@oracle.com> | Wed May 27 11:24:25 2015 +0300 |
committer | Jonathan Cameron <jic23@kernel.org> | Mon Jun 01 16:57:23 2015 +0100 |
tree | a10873bc95a0b45a1d060152a5a5d2881e41b1b4 | |
parent | 5517547bf44731621338c1a4047196a49c790719 [diff] |
iio: light: signedness bug in stk3310_write_raw() "index" needs to be signed for the error handling to work. Fixes: be9e6229d676 ('iio: light: Add support for Sensortek STK3310') Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com> Signed-off-by: Jonathan Cameron <jic23@kernel.org>