[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CAHp75VciEd55KfQQ6VdK84-uufO-N5k0TLrvv9tn7-wj3n=Bug@mail.gmail.com>
Date: Wed, 22 Dec 2021 14:25:31 +0200
From: Andy Shevchenko <andy.shevchenko@...il.com>
To: Liam Beguin <liambeguin@...il.com>
Cc: Peter Rosin <peda@...ntia.se>, Jonathan Cameron <jic23@...nel.org>,
Lars-Peter Clausen <lars@...afoo.de>,
Linux Kernel Mailing List <linux-kernel@...r.kernel.org>,
linux-iio <linux-iio@...r.kernel.org>,
devicetree <devicetree@...r.kernel.org>,
Rob Herring <robh+dt@...nel.org>
Subject: Re: [PATCH v11 07/15] iio: afe: rescale: use s64 for temporary scale calculations
On Wed, Dec 22, 2021 at 5:47 AM Liam Beguin <liambeguin@...il.com> wrote:
>
> From: Liam Beguin <lvb@...hos.com>
>
> All four scaling coefficients can take signed values.
> Make tmp a signed 64-bit integer and switch to div_s64() to preserve
> signs during 64-bit divisions.
Sounds to me like a fix with all necessary stuff needed about it:
- Fixes tag
- moving to the beginning of the series, where other fixes are
--
With Best Regards,
Andy Shevchenko
Powered by blists - more mailing lists