Commit af0ee94e authored by Heiko Carstens's avatar Heiko Carstens Committed by Martin Schwidefsky

[S390] cpum_cf: get rid of compile warnings

Fix these:

arch/s390/kernel/perf_cpum_cf.c:180:3: warning: format '%lx'
   expects argument of type 'long unsigned int',
   but argument 2 has type 'int' [-Wformat]
arch/s390/kernel/perf_cpum_cf.c: In function 'cpumf_pmu_disable':
arch/s390/kernel/perf_cpum_cf.c:205:3: warning: format '%lx'
   expects argument of type 'long unsigned int',
   but argument 2 has type 'int' [-Wformat]
Signed-off-by: default avatarHeiko Carstens <heiko.carstens@de.ibm.com>
Signed-off-by: default avatarMartin Schwidefsky <schwidefsky@de.ibm.com>
parent 7968ca81
...@@ -178,7 +178,7 @@ static void cpumf_pmu_enable(struct pmu *pmu) ...@@ -178,7 +178,7 @@ static void cpumf_pmu_enable(struct pmu *pmu)
err = lcctl(cpuhw->state); err = lcctl(cpuhw->state);
if (err) { if (err) {
pr_err("Enabling the performance measuring unit " pr_err("Enabling the performance measuring unit "
"failed with rc=%lx\n", err); "failed with rc=%x\n", err);
return; return;
} }
...@@ -203,7 +203,7 @@ static void cpumf_pmu_disable(struct pmu *pmu) ...@@ -203,7 +203,7 @@ static void cpumf_pmu_disable(struct pmu *pmu)
err = lcctl(inactive); err = lcctl(inactive);
if (err) { if (err) {
pr_err("Disabling the performance measuring unit " pr_err("Disabling the performance measuring unit "
"failed with rc=%lx\n", err); "failed with rc=%x\n", err);
return; return;
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment