Re: [PATCH] iio: addac: ad74413r: fix integer promotion bug in ad74413_get_input_current_offset()

From: Rasmus Villemoes
Date: Fri Nov 18 2022 - 08:30:00 EST


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@xxxxxxxxxxxxxxxxxx>
>> ---
>
> After adding proper Fixes: tag,
>
> Reviewed-by: Nuno Sá <nuno.sa@xxxxxxxxxx>

That would be

Fixes: fea251b6a5db (iio: addac: add AD74413R driver)

Thanks,
Rasmus