[COMMON] thermal: thermal_core: Fix SVACE WGID 97218
authorHyeonseong Gil <hs.gil@samsung.com>
Tue, 7 Feb 2017 09:34:10 +0000 (18:34 +0900)
committerChungwoo Park <cww.park@samsung.com>
Mon, 21 May 2018 08:18:24 +0000 (17:18 +0900)
Change-Id: Ib2526e997ff0923b746efd522f479e06219d53ab
Signed-off-by: Hyeonseong Gil <hs.gil@samsung.com>
drivers/thermal/thermal_core.c

index 6a6144d9cbadede918f7dd31d398c32c56281ce2..53293494fa9ff33b153947913a7384bcb030b1d0 100644 (file)
@@ -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) {