mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
synced 2026-10-09 18:15:49 +00:00
Currently the read of temp using of_property_read_u32_index is reading
a u32 value into a unsigned long long. This relies on machine endianness
to work correctly, so fix this by reading a u32 value and setting temp
to this value.
Addresses-Coverity: ("Reliance on integer endianness")
Fixes:
|
History
|
|
|---|---|---|
| .. | ||
| hid-sensor-temperature.c | ||
| Kconfig | ||
| ltc2983.c | ||
| Makefile | ||
| max31856.c | ||
| maxim_thermocouple.c | ||
| mlx90614.c | ||
| mlx90632.c | ||
| tmp006.c | ||
| tmp007.c | ||
| tsys01.c | ||
| tsys02d.c | ||