summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSatya Durga Srinivasu Prabhala <satyap@codeaurora.org>2016-03-16 17:26:13 -0700
committerDavid Keitel <dkeitel@codeaurora.org>2016-03-23 21:25:02 -0700
commit66bca60974baf6722c33f8bd5276347b1064169c (patch)
tree5f4b4d91289fb94ceea72692d140393b5c52bc26
parent1a23d3a63ebe6a68d4209d9078c3afd6e67ec88d (diff)
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>
-rw-r--r--drivers/thermal/thermal_core.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/thermal/thermal_core.c b/drivers/thermal/thermal_core.c
index 362c98ca8dde..625ce0b64987 100644
--- a/drivers/thermal/thermal_core.c
+++ b/drivers/thermal/thermal_core.c
@@ -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);