diff options
author | Riwen Lu <luriwen@kylinos.cn> | 2021-06-04 11:09:59 +0800 |
---|---|---|
committer | Guenter Roeck <linux@roeck-us.net> | 2021-06-09 11:51:30 -0700 |
commit | 78d13552346289bad4a9bf8eabb5eec5e5a321a5 (patch) | |
tree | ea796e8b5df1f514e144784e9820bc9d26f8111b /lib/kobject.c | |
parent | 7656cd2177612aa7c299b083ecff30a4d3e9a587 (diff) | |
download | lwn-78d13552346289bad4a9bf8eabb5eec5e5a321a5.tar.gz lwn-78d13552346289bad4a9bf8eabb5eec5e5a321a5.zip |
hwmon: (scpi-hwmon) shows the negative temperature properly
The scpi hwmon shows the sub-zero temperature in an unsigned integer,
which would confuse the users when the machine works in low temperature
environment. This shows the sub-zero temperature in an signed value and
users can get it properly from sensors.
Signed-off-by: Riwen Lu <luriwen@kylinos.cn>
Tested-by: Xin Chen <chenxin@kylinos.cn>
Link: https://lore.kernel.org/r/20210604030959.736379-1-luriwen@kylinos.cn
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Diffstat (limited to 'lib/kobject.c')
0 files changed, 0 insertions, 0 deletions