Skip to content

Commit af0ee94

Browse files
heicarstMartin Schwidefsky
authored andcommitted
[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: Heiko Carstens <[email protected]> Signed-off-by: Martin Schwidefsky <[email protected]>
1 parent 7968ca8 commit af0ee94

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

arch/s390/kernel/perf_cpum_cf.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -178,7 +178,7 @@ static void cpumf_pmu_enable(struct pmu *pmu)
178178
err = lcctl(cpuhw->state);
179179
if (err) {
180180
pr_err("Enabling the performance measuring unit "
181-
"failed with rc=%lx\n", err);
181+
"failed with rc=%x\n", err);
182182
return;
183183
}
184184

@@ -203,7 +203,7 @@ static void cpumf_pmu_disable(struct pmu *pmu)
203203
err = lcctl(inactive);
204204
if (err) {
205205
pr_err("Disabling the performance measuring unit "
206-
"failed with rc=%lx\n", err);
206+
"failed with rc=%x\n", err);
207207
return;
208208
}
209209

0 commit comments

Comments
 (0)