From bbc011f4e38a5af027c4fd4fe2dca795f9f7059e Mon Sep 17 00:00:00 2001 From: Hyeonseong Gil Date: Tue, 7 Feb 2017 18:34:10 +0900 Subject: [PATCH] [COMMON] thermal: thermal_core: Fix SVACE WGID 97218 Change-Id: Ib2526e997ff0923b746efd522f479e06219d53ab Signed-off-by: Hyeonseong Gil --- drivers/thermal/thermal_core.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/thermal/thermal_core.c b/drivers/thermal/thermal_core.c index 6a6144d9cbad..53293494fa9f 100644 --- a/drivers/thermal/thermal_core.c +++ b/drivers/thermal/thermal_core.c @@ -1519,7 +1519,7 @@ static inline void genetlink_exit(void) {} static int thermal_cpu_callback(struct notifier_block *nfb, unsigned long action, void *hcpu) { - unsigned int cpu = (unsigned long)hcpu; + unsigned long cpu = (unsigned long)hcpu; struct thermal_zone_device *pos; switch (action) { -- 2.20.1