mirror of
https://github.com/torvalds/linux.git
synced 2025-11-01 17:18:25 +02:00
DS18B20 device driver returns an incorrect value for negative temperatures
due to a missing sign-extension in w1_DS18B20_convert_temp().
Fix by using s16 temperature value when converting to int.
Fixes:
|
||
|---|---|---|
| .. | ||
| masters | ||
| slaves | ||
| Kconfig | ||
| Makefile | ||
| w1.c | ||
| w1_family.c | ||
| w1_int.c | ||
| w1_internal.h | ||
| w1_io.c | ||
| w1_netlink.c | ||
| w1_netlink.h | ||