On 06/12/2012 10:25 PM, Leed Aguilar wrote: > Removed the following sparse warning: > > In function 'adis16080_read_raw': > warning: 'ut' may be used uninitialized in this function > > Signed-off-by: Leed Aguilar <leed.aguilar@xxxxxx> > Cc: Jonathan Cameron <jic23@xxxxxxxxxx> > Cc: Lars-Peter Clausen <lars@xxxxxxxxxx> Acked-by: Lars-Peter Clausen <lars@xxxxxxxxxx> Thanks > > --- > drivers/staging/iio/gyro/adis16080_core.c | 2 +- > 1 files changed, 1 insertions(+), 1 deletions(-) > > diff --git a/drivers/staging/iio/gyro/adis16080_core.c b/drivers/staging/iio/gyro/adis16080_core.c > index 11f1dcc..345e4fa 100644 > --- a/drivers/staging/iio/gyro/adis16080_core.c > +++ b/drivers/staging/iio/gyro/adis16080_core.c > @@ -82,7 +82,7 @@ static int adis16080_read_raw(struct iio_dev *indio_dev, > long mask) > { > int ret = -EINVAL; > - u16 ut; > + u16 ut = 0; > /* Take the iio_dev status lock */ > > mutex_lock(&indio_dev->mlock); -- To unsubscribe from this list: send the line "unsubscribe linux-iio" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html