]> pilppa.com Git - linux-2.6-omap-h63xx.git/commitdiff
x86: fix setup printk format warning
authorRandy Dunlap <randy.dunlap@oracle.com>
Fri, 2 May 2008 20:32:35 +0000 (13:32 -0700)
committerIngo Molnar <mingo@elte.hu>
Sun, 4 May 2008 18:04:46 +0000 (20:04 +0200)
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 <randy.dunlap@oracle.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Cc: mingo@elte.hu
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
arch/x86/kernel/setup.c

index c0c68c18a788dff30e0103b144cb0b76a09ec775..cc6f5eb20b24316a08e85a926c808cf3512bffab 100644 (file)
@@ -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) {