CPU hotplug: remove build warnings in product log patch 66/158466/1
authorSeung-Woo Kim <sw0312.kim@samsung.com>
Wed, 1 Nov 2017 06:03:10 +0000 (15:03 +0900)
committerSeung-Woo Kim <sw0312.kim@samsung.com>
Wed, 1 Nov 2017 06:03:19 +0000 (15:03 +0900)
There are a build warnings in product log patch. Remove the build
warnings.

Change-Id: I0c97dcc7f001ec6676c4d046962c3ff7fcad52f6
Signed-off-by: Seung-Woo Kim <sw0312.kim@samsung.com>
kernel/cpu.c

index 56284c8..4531f30 100644 (file)
@@ -586,7 +586,7 @@ static int
 cpu_hotplug_pm_callback(struct notifier_block *nb,
                        unsigned long action, void *ptr)
 {
-       printk("*** %s, action:0x%x ***\n", __func__, action );
+       printk("*** %s, action:0x%lx ***\n", __func__, action );
        switch (action) {
 
        case PM_SUSPEND_PREPARE:
@@ -602,7 +602,7 @@ cpu_hotplug_pm_callback(struct notifier_block *nb,
        default:
                return NOTIFY_DONE;
        }
-       printk("*** %s, action:0x%x done ***\n", __func__, action );
+       printk("*** %s, action:0x%lx done ***\n", __func__, action );
 
        return NOTIFY_OK;
 }