https://github.com/torvalds/linux
Revision 1d0fd42fa31d18ba0a3e0dd008c9e93e1cebe451 authored by Wei Ni on 03 March 2016, 09:33:46 UTC, committed by Eduardo Valentin on 21 April 2016, 03:31:14 UTC
The commit 17e8351a7739 consistently use int for temperature,
however it missed a few in trip temperature and thermal_core.

In current codes, the trip->temperature used "unsigned long"
and zone->temperature used"int", if the temperature is negative
value, it will get wrong result when compare temperature with
trip temperature.

This patch can fix it.

Signed-off-by: Wei Ni <wni@nvidia.com>
Signed-off-by: Eduardo Valentin <edubezval@gmail.com>
1 parent 62e14f6
History
Tip revision: 1d0fd42fa31d18ba0a3e0dd008c9e93e1cebe451 authored by Wei Ni on 03 March 2016, 09:33:46 UTC
thermal: consistently use int for trip temp
Tip revision: 1d0fd42
File Mode Size
Documentation
arch
block
certs
crypto
drivers
firmware
fs
include
init
ipc
kernel
lib
mm
net
samples
scripts
security
sound
tools
usr
virt
.get_maintainer.ignore -rw-r--r-- 31 bytes
.gitignore -rw-r--r-- 1.2 KB
.mailmap -rw-r--r-- 5.5 KB
COPYING -rw-r--r-- 18.3 KB
CREDITS -rw-r--r-- 95.4 KB
Kbuild -rw-r--r-- 2.6 KB
Kconfig -rw-r--r-- 252 bytes
MAINTAINERS -rw-r--r-- 344.2 KB
Makefile -rw-r--r-- 55.0 KB
README -rw-r--r-- 18.1 KB
REPORTING-BUGS -rw-r--r-- 7.3 KB

README

back to top