Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

[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 <heiko.carstens@de.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>

authored by

Heiko Carstens and committed by
Martin Schwidefsky
af0ee94e 7968ca81

+2 -2
+2 -2
arch/s390/kernel/perf_cpum_cf.c
··· 178 178 err = lcctl(cpuhw->state); 179 179 if (err) { 180 180 pr_err("Enabling the performance measuring unit " 181 - "failed with rc=%lx\n", err); 181 + "failed with rc=%x\n", err); 182 182 return; 183 183 } 184 184 ··· 203 203 err = lcctl(inactive); 204 204 if (err) { 205 205 pr_err("Disabling the performance measuring unit " 206 - "failed with rc=%lx\n", err); 206 + "failed with rc=%x\n", err); 207 207 return; 208 208 } 209 209