lkml.org 
[lkml]   [2021]   [Dec]   [22]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH v11 07/15] iio: afe: rescale: use s64 for temporary scale calculations
On Wed, Dec 22, 2021 at 02:25:31PM +0200, Andy Shevchenko wrote:
> On Wed, Dec 22, 2021 at 5:47 AM Liam Beguin <liambeguin@gmail.com> wrote:
> >
> > From: Liam Beguin <lvb@xiphos.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

Will do

> --
> With Best Regards,
> Andy Shevchenko

\
 
 \ /
  Last update: 2021-12-22 19:23    [W:0.124 / U:0.024 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site