Re: [PATCH v11 07/15] iio: afe: rescale: use s64 for temporary scale calculations

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, Dec 22, 2021 at 5:47 AM Liam Beguin <liambeguin@xxxxxxxxx> wrote:
>
> From: Liam Beguin <lvb@xxxxxxxxxx>
>
> 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



[Index of Archives]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Input]     [Linux Kernel]     [Linux SCSI]     [X.org]

  Powered by Linux