Re: [patch] iio: light: signedness bug in stk3310_write_raw()

Dan Carpenter
2015-05-27T09:35:28Z

On Wed, May 27, 2015 at 12:31:26PM +0300, Daniel Baluta wrote:
> On Wed, May 27, 2015 at 11:24 AM, Dan Carpenter
> <dan.carpenter@oracle.com> wrote:
> > "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>
>
> Hi Dan,
>
> Did you find this with a tool?

Yeah. This is a Smatch thing.

regards,
dan carpenter