Re: [PATCH v2 03/19] iio: chemical: bme680: Fix overflows in compensate() functions

From: Jonathan Cameron
Date: Sun Jun 09 2024 - 07:02:32 EST


On Thu, 6 Jun 2024 23:22:55 +0200
Vasileios Amoiridis <vassilisamir@xxxxxxxxx> wrote:

> There are cases in the compensate functions of the driver that
> there could be overflows of variables due to bit shifting ops.
> These implications were initially discussed here [1] and they
> were mentioned in log message of Commit 1b3bd8592780 ("iio:
> chemical: Add support for Bosch BME680 sensor").
>
> [1]: https://lore.kernel.org/linux-iio/20180728114028.3c1bbe81@archlinux/
> Fixes: 1b3bd8592780 ("iio: chemical: Add support for Bosch BME680 sensor")
> Signed-off-by: Vasileios Amoiridis <vassilisamir@xxxxxxxxx>
Applied and marked for stable

Thanks,

Jonathan