From: Linus Torvalds Date: Tue, 15 Jul 2008 18:01:39 +0000 (-0700) Subject: Fix printk format warning in clocksource/acpi_pm.c X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=14351760e314b8a9720804b11c6bd11d0c0b1258;p=GitHub%2FLineageOS%2Fandroid_kernel_motorola_exynos9610.git Fix printk format warning in clocksource/acpi_pm.c For real, this time. The earlier attempt just moved the warning around. Signed-off-by: Linus Torvalds --- diff --git a/drivers/clocksource/acpi_pm.c b/drivers/clocksource/acpi_pm.c index bcd7d0e429e8..5ca1d80de182 100644 --- a/drivers/clocksource/acpi_pm.c +++ b/drivers/clocksource/acpi_pm.c @@ -227,7 +227,7 @@ static int __init parse_pmtmr(char *arg) if (strict_strtoul(arg, 16, &base)) return -EINVAL; - printk(KERN_INFO "PMTMR IOPort override: 0x%04x -> 0x%04x\n", + printk(KERN_INFO "PMTMR IOPort override: 0x%04x -> 0x%04lx\n", (unsigned int)pmtmr_ioport, base); pmtmr_ioport = base;