From: Randy Dunlap Date: Thu, 5 Jun 2008 18:10:59 +0000 (-0700) Subject: x86: fix setup.c printk format warning X-Git-Tag: v2.6.27-rc1~1106^2~246^2~2 X-Git-Url: http://pilppa.com/gitweb/?a=commitdiff_plain;h=053713f5745b8b08fb598adb65230bc168cb9d8d;p=linux-2.6-omap-h63xx.git x86: fix setup.c printk format warning Fix setup.c printk format warning: linux-next-20080605/arch/x86/kernel/setup.c: In function 'setup_per_cpu_areas': linux-next-20080605/arch/x86/kernel/setup.c:173: warning: format '%lu' expects type 'long unsigned int', but argument 2 has type 'ssize_t' Signed-off-by: Randy Dunlap Signed-off-by: Ingo Molnar --- diff --git a/arch/x86/kernel/setup.c b/arch/x86/kernel/setup.c index df49ce87a30..d4eaa4eb481 100644 --- a/arch/x86/kernel/setup.c +++ b/arch/x86/kernel/setup.c @@ -169,7 +169,7 @@ void __init setup_per_cpu_areas(void) /* Copy section for each CPU (we discard the original) */ size = PERCPU_ENOUGH_ROOM; - printk(KERN_INFO "PERCPU: Allocating %lu bytes of per cpu data\n", + printk(KERN_INFO "PERCPU: Allocating %zd bytes of per cpu data\n", size); for_each_possible_cpu(cpu) {