Skip to content

iio: chemical: bme680: resolve issue reported by

Vasileios Amoiridis linux-iio lkml 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest0 of 1 patch 0 repliesNew

Patches in v1 No applies recorded yet

The patch the cover letter announces is not in this archive.

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH v1 0/1] iio: chemical: bme680: resolve issue reported by

According to Dan [1], the previous approach was prone to endianness and variable initialization issues because of the typecasting of a s32 to s16 variable. Fix this, by using a local variable and not reusing the local ones.

[1]: https://lore.kernel.org/linux-iio/[email protected]/

Vasileios Amoiridis (1):
iio: chemical: bme680: use s16 variable for temp value to avoid
casting

 drivers/iio/chemical/bme680_core.c | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)
Signature · 1 line
2.43.0