浏览代码

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 <torvalds@linux-foundation.org>
Linus Torvalds 17 年之前
父节点
当前提交
14351760e3
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      drivers/clocksource/acpi_pm.c

+ 1 - 1
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;