[<prev] [next>] [day] [month] [year] [list]
Message-Id: <20080618140403.a988652e.randy.dunlap@oracle.com>
Date: Wed, 18 Jun 2008 14:04:03 -0700
From: Randy Dunlap <randy.dunlap@...cle.com>
To: lkml <linux-kernel@...r.kernel.org>
Cc: x86-kernel@...r.kernel.org, akpm <akpm@...ux-foundation.org>
Subject: [PATCH -next] x86/mm/init_64: fix printk format warning
From: Randy Dunlap <randy.dunlap@...cle.com>
Fix x86/mm/init_64.c printk format warning:
linux-next-20080618/arch/x86/mm/init_64.c:834: warning: format '%u' expects type 'unsigned int', but argument 3 has type 'long unsigned int'
Signed-off-by: Randy Dunlap <randy.dunlap@...cle.com>
---
arch/x86/mm/init_64.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
--- linux-next-20080618.orig/arch/x86/mm/init_64.c
+++ linux-next-20080618/arch/x86/mm/init_64.c
@@ -830,7 +830,7 @@ int __init reserve_bootmem_generic(unsig
if (pfn < max_pfn_mapped)
return -EFAULT;
- printk(KERN_ERR "reserve_bootmem: illegal reserve %lx %u\n",
+ printk(KERN_ERR "reserve_bootmem: illegal reserve %lx %lu\n",
phys, len);
return -EFAULT;
}
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists