thermal-core: fix compilation warnings on Kernel 4.4
This change fixes below compilation warnings on Kernel 4.4. thermal_core.c:303:2: warning: format '%d' expects argument of \ type 'int', but argument 4 has type 'long int' [-Wformat=] thermal_core.c:303:2: warning: format '%d' expects argument of \ type 'int', but argument 5 has type 'long int' [-Wformat=] Signed-off-by: Satya Durga Srinivasu Prabhala <satyap@codeaurora.org>
This commit is contained in:
parent
1a23d3a63e
commit
66bca60974
1 changed files with 1 additions and 1 deletions
|
@ -300,7 +300,7 @@ static int __update_sensor_thresholds(struct sensor_info *sensor)
|
|||
}
|
||||
}
|
||||
|
||||
pr_debug("sensor %d: Thresholds: max of low: %d min of high: %d\n",
|
||||
pr_debug("sensor %d: Thresholds: max of low: %ld min of high: %ld\n",
|
||||
sensor->sensor_id, max_of_low_thresh,
|
||||
min_of_high_thresh);
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue