Messages in this thread | | | Date | Wed, 23 Nov 2022 20:45:44 +0000 | From | Jonathan Cameron <> | Subject | Re: [PATCH] iio: addac: ad74413r: fix integer promotion bug in ad74413_get_input_current_offset() |
| |
On Fri, 18 Nov 2022 14:29:23 +0100 Rasmus Villemoes <linux@rasmusvillemoes.dk> wrote:
> On 18/11/2022 14.17, Sa, Nuno wrote: > > >> Casting to int avoids that promotion and results in the correct -32767 > >> output. > >> > >> Signed-off-by: Rasmus Villemoes <linux@rasmusvillemoes.dk> > >> --- > > > > After adding proper Fixes: tag, > > > > Reviewed-by: Nuno Sá <nuno.sa@analog.com> > > That would be > > Fixes: fea251b6a5db (iio: addac: add AD74413R driver) > Applied to the togreg branch of iio.git (as very late in cycle) and marked for stable.
Thanks,
Jonathan
> Thanks, > Rasmus >
| |