From: Rasmus Villemoes <linux@rasmusvillemoes.dk>
To: "Sa, Nuno" <Nuno.Sa@analog.com>,
"Tanislav, Cosmin" <Cosmin.Tanislav@analog.com>,
Lars-Peter Clausen <lars@metafoo.de>,
"Hennerich, Michael" <Michael.Hennerich@analog.com>,
Jonathan Cameron <jic23@kernel.org>
Cc: "linux-iio@vger.kernel.org" <linux-iio@vger.kernel.org>,
"linux-kernel@vger.kernel.org" <linux-kernel@vger.kernel.org>
Subject: Re: [PATCH] iio: addac: ad74413r: fix integer promotion bug in ad74413_get_input_current_offset()
Date: Fri, 18 Nov 2022 14:29:23 +0100 [thread overview]
Message-ID: <b81d2ffe-efc3-8e2d-de7b-ed2bfa2449d0@rasmusvillemoes.dk> (raw)
In-Reply-To: <SJ0PR03MB6778D6C0682294002296E54C99099@SJ0PR03MB6778.namprd03.prod.outlook.com>
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)
Thanks,
Rasmus
next prev parent reply other threads:[~2022-11-18 13:30 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-11-18 12:32 Rasmus Villemoes
2022-11-18 13:17 ` Sa, Nuno
2022-11-18 13:29 ` Rasmus Villemoes [this message]
2022-11-23 20:45 ` Jonathan Cameron
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=b81d2ffe-efc3-8e2d-de7b-ed2bfa2449d0@rasmusvillemoes.dk \
--to=linux@rasmusvillemoes.dk \
--cc=Cosmin.Tanislav@analog.com \
--cc=Michael.Hennerich@analog.com \
--cc=Nuno.Sa@analog.com \
--cc=jic23@kernel.org \
--cc=lars@metafoo.de \
--cc=linux-iio@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®