s390/cpum_sf: fix printk format warnings
authorHendrik Brueckner <brueckner@linux.vnet.ibm.com>
Wed, 8 Jan 2014 15:45:39 +0000 (16:45 +0100)
committerMartin Schwidefsky <schwidefsky@de.ibm.com>
Thu, 16 Jan 2014 15:40:16 +0000 (16:40 +0100)
Signed-off-by: Hendrik Brueckner <brueckner@linux.vnet.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
arch/s390/kernel/perf_event.c

index a76d602f592842a76df0e1247db2dab85713eaf9..5d2dfa31c4efad44028d41b60b6d43631ecaedc6 100644 (file)
@@ -142,17 +142,17 @@ static void print_debug_sf(void)
        if (qsi(&si))
                return;
 
-       pr_info("CPU[%i] CPUM_SF: basic=%i diag=%i min=%i max=%i cpu_speed=%i\n",
+       pr_info("CPU[%i] CPUM_SF: basic=%i diag=%i min=%lu max=%lu cpu_speed=%u\n",
                cpu, si.as, si.ad, si.min_sampl_rate, si.max_sampl_rate,
                si.cpu_speed);
 
        if (si.as)
                pr_info("CPU[%i] CPUM_SF: Basic-sampling: a=%i e=%i c=%i"
-                       " bsdes=%i tear=%p dear=%p\n", cpu,
+                       " bsdes=%i tear=%016lx dear=%016lx\n", cpu,
                        si.as, si.es, si.cs, si.bsdes, si.tear, si.dear);
        if (si.ad)
                pr_info("CPU[%i] CPUM_SF: Diagnostic-sampling: a=%i e=%i c=%i"
-                       " dsdes=%i tear=%p dear=%p\n", cpu,
+                       " dsdes=%i tear=%016lx dear=%016lx\n", cpu,
                        si.ad, si.ed, si.cd, si.dsdes, si.tear, si.dear);
 }