linux/drivers/iio/chemical
Vasileios Amoiridis fdd478c3ae iio: chemical: bme680: Fix overflows in compensate() functions
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 1b3bd85927 ("iio:
chemical: Add support for Bosch BME680 sensor").

[1]: https://lore.kernel.org/linux-iio/20180728114028.3c1bbe81@archlinux/

Fixes: 1b3bd85927 ("iio: chemical: Add support for Bosch BME680 sensor")
Signed-off-by: Vasileios Amoiridis <vassilisamir@gmail.com>
Link: https://lore.kernel.org/r/20240606212313.207550-4-vassilisamir@gmail.com
Cc: <Stable@vger.kernel.org>
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
2024-06-09 12:02:13 +01:00
..
ags02ma.c iio: chemical: add support for Aosong AGS02MA 2023-12-17 14:44:35 +00:00
ams-iaq-core.c iio: Switch i2c drivers back to use .probe() 2023-05-21 18:54:53 +01:00
atlas-ezo-sensor.c iio: chemical: atlas-ezo-sensor: Simplify probe() 2023-09-11 20:12:41 +01:00
atlas-sensor.c iio: chemical: atlas-sensor: Convert enum->pointer for data in the match tables 2023-09-11 20:12:41 +01:00
bme680_core.c iio: chemical: bme680: Fix overflows in compensate() functions 2024-06-09 12:02:13 +01:00
bme680_i2c.c iio: Switch i2c drivers back to use .probe() 2023-05-21 18:54:53 +01:00
bme680_spi.c iio:chemical:bme680: Move exports to IIO_BME680 namespace 2022-02-18 11:42:27 +00:00
bme680.h iio:chemical:bme680: Fix SPI read interface 2019-03-09 17:27:36 +00:00
ccs811.c iio: Switch i2c drivers back to use .probe() 2023-05-21 18:54:53 +01:00
Kconfig iio: chemical: add support for Aosong AGS02MA 2023-12-17 14:44:35 +00:00
Makefile iio: chemical: add support for Aosong AGS02MA 2023-12-17 14:44:35 +00:00
pms7003.c treewide, serdev: change receive_buf() return type to size_t 2024-01-27 18:13:53 -08:00
scd4x.c iio: chemical: scd4x: Add pressure compensation 2023-07-20 19:21:30 +01:00
scd30_core.c iio: chemical: scd30_core: Switch to use dev_err_probe() 2023-01-14 16:17:34 +00:00
scd30_i2c.c iio: Switch i2c drivers back to use .probe() 2023-05-21 18:54:53 +01:00
scd30_serial.c treewide, serdev: change receive_buf() return type to size_t 2024-01-27 18:13:53 -08:00
scd30.h iio: chemical: scd30: Export dev_pm_ops instead of suspend() and resume() 2022-04-05 20:16:34 +02:00
sgp30.c iio: chemical: sgp30: Convert enum->pointer for data in the match tables 2023-09-12 10:42:03 +01:00
sgp40.c iio: Switch i2c drivers back to use .probe() 2023-05-21 18:54:53 +01:00
sps30_i2c.c iio: Switch i2c drivers back to use .probe() 2023-05-21 18:54:53 +01:00
sps30_serial.c treewide, serdev: change receive_buf() return type to size_t 2024-01-27 18:13:53 -08:00
sps30.c iio: chemical: sps30: Move symbol exports into IIO_SPS30 namespace 2022-06-21 21:30:31 +01:00
sps30.h iio: sps30: separate core and interface specific code 2021-05-17 13:49:10 +01:00
sunrise_co2.c iio: Switch i2c drivers back to use .probe() 2023-05-21 18:54:53 +01:00
vz89x.c iio: chemical: vz89x: Convert enum->pointer for data in the match tables 2023-09-11 20:12:41 +01:00