diff options
author | Vasileios Amoiridis <[email protected]> | 2024-06-06 23:22:55 +0200 |
---|---|---|
committer | Jonathan Cameron <[email protected]> | 2024-06-09 12:02:13 +0100 |
commit | fdd478c3ae98c3f13628e110dce9b6cfb0d9b3c8 (patch) | |
tree | e43bf69485e8b871df5131019a3edff9d5eb4cf1 /drivers/gpu/drm/amd/amdgpu/amdgpu_encoders.c | |
parent | b47c0fee73a810c4503c4a94ea34858a1d865bba (diff) |
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 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 <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Cc: <[email protected]>
Signed-off-by: Jonathan Cameron <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_encoders.c')
0 files changed, 0 insertions, 0 deletions