Re: [PATCH] iio: inkern: fix iio_convert_raw_to_processed_unlocked

From: Jonathan Cameron
Date: Wed Jul 03 2013 - 15:43:11 EST


On 07/01/2013 11:20 PM, Andrew Morton wrote:
> On Mon, 1 Jul 2013 18:40:09 +0200 Alexandre Belloni <alexandre.belloni@xxxxxxxxxxxxxxxxxx> wrote:
>
>> When reading IIO_CHAN_INFO_OFFSET, the return value of iio_channel_read() for
>> success will be IIO_VAL*, checking for 0 is not correct.
>
> I have a canned response:
>
> When writing a changelog, please describe the end-user-visible effects
> of the bug, so that others can more easily decide which kernel
> version(s) should be fixed, and so that downstream kernel maintainers
> can more easily work out whether this patch will fix a problem which
> they or their customers are observing.
>
>> Cc: <stable@xxxxxxxxxxxxxxx> # 3.10.x
>
> Especially when cc'ing -stable.
>
As Andrew suggested I have added a few more details and applied the patch
to the fixes-togreg branch of iio.git.

Thanks,

Jonathan
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/