diff options
| author | Wei Ni <[email protected]> | 2016-03-03 09:33:46 +0000 |
|---|---|---|
| committer | Eduardo Valentin <[email protected]> | 2016-04-21 03:31:14 +0000 |
| commit | 1d0fd42fa31d18ba0a3e0dd008c9e93e1cebe451 (patch) | |
| tree | 8f18189a7e6a3b178718d1e9459b9c893cdadbca /fs/btrfs/compression.c | |
| parent | thermal: fix mtk_thermal build dependency (diff) | |
| download | kernel-1d0fd42fa31d18ba0a3e0dd008c9e93e1cebe451.tar.gz kernel-1d0fd42fa31d18ba0a3e0dd008c9e93e1cebe451.zip | |
thermal: consistently use int for trip temp
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 <[email protected]>
Signed-off-by: Eduardo Valentin <[email protected]>
Diffstat (limited to 'fs/btrfs/compression.c')
0 files changed, 0 insertions, 0 deletions
