From: Hyeonseong Gil Date: Tue, 7 Feb 2017 09:34:10 +0000 (+0900) Subject: [COMMON] thermal: thermal_core: Fix SVACE WGID 97218 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=bbc011f4e38a5af027c4fd4fe2dca795f9f7059e;p=GitHub%2FLineageOS%2Fandroid_kernel_motorola_exynos9610.git [COMMON] thermal: thermal_core: Fix SVACE WGID 97218 Change-Id: Ib2526e997ff0923b746efd522f479e06219d53ab Signed-off-by: Hyeonseong Gil --- 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) {