From: Randy Dunlap Date: Fri, 2 May 2008 20:32:35 +0000 (-0700) Subject: x86: fix setup printk format warning X-Git-Tag: upstream/snapshot3+hdmi~25155^2 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=62179849b40aded9e727cca5006627a1c4d6446e;p=platform%2Fadaptation%2Frenesas_rcar%2Frenesas_kernel.git x86: fix setup printk format warning Fix x86 setup printk format warming: next-20080430/arch/x86/kernel/setup.c:172: warning: format '%lu' expects type 'long unsigned int', but argument 2 has type 'ssize_t' Signed-off-by: Randy Dunlap Signed-off-by: Andrew Morton Cc: mingo@elte.hu Signed-off-by: Thomas Gleixner Signed-off-by: Ingo Molnar --- diff --git a/arch/x86/kernel/setup.c b/arch/x86/kernel/setup.c index c0c68c1..cc6f5eb 100644 --- a/arch/x86/kernel/setup.c +++ b/arch/x86/kernel/setup.c @@ -95,7 +95,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(i) {