On 09/05/13 20:18, Lars-Peter Clausen wrote: > On 09/03/2013 03:05 AM, Peter Meerwald wrote: >> recently broken, cd6fe06588423ff4cca85c85c4402027b04dccf1 > > When referring to a commit usually the commit title is also mentioned after the commit id. E.g. 12345678 ("abc foobar") Patch description edited and applied to the fixes-togreg branch of iio.git Thanks Jonathan > >> >> Signed-off-by: Peter Meerwald <pmeerw@xxxxxxxxxx> >> --- >> drivers/staging/iio/magnetometer/hmc5843.c | 2 +- >> 1 file changed, 1 insertion(+), 1 deletion(-) >> >> diff --git a/drivers/staging/iio/magnetometer/hmc5843.c b/drivers/staging/iio/magnetometer/hmc5843.c >> index d2748c3..c3f3f53 100644 >> --- a/drivers/staging/iio/magnetometer/hmc5843.c >> +++ b/drivers/staging/iio/magnetometer/hmc5843.c >> @@ -229,7 +229,7 @@ static int hmc5843_read_measurement(struct iio_dev *indio_dev, >> if (result < 0) >> return -EINVAL; >> >> - *val = result; >> + *val = sign_extend32(result, 15); >> return IIO_VAL_INT; >> } >> >> > > -- > 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 -- 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