Skip to content

Commit b2ae496

Browse files
Thomas RichterAlexander Gordeev
authored andcommitted
s390/cpum_sf: remove parameter in call to pr_err
The op argument is hardcoded in the parameter list of function pr_err. Make the op code part of the text printed by pr_err. No functional change. Signed-off-by: Thomas Richter <tmricht@linux.ibm.com> Acked-by: Heiko Carstens <hca@linux.ibm.com> Signed-off-by: Alexander Gordeev <agordeev@linux.ibm.com>
1 parent eeeff53 commit b2ae496

1 file changed

Lines changed: 2 additions & 4 deletions

File tree

arch/s390/kernel/perf_cpum_sf.c

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1021,8 +1021,7 @@ static void cpumsf_pmu_enable(struct pmu *pmu)
10211021
err = lsctl(&cpuhw->lsctl);
10221022
if (err) {
10231023
cpuhw->flags &= ~PMU_F_ENABLED;
1024-
pr_err("Loading sampling controls failed: op %i err %i\n",
1025-
1, err);
1024+
pr_err("Loading sampling controls failed: op 1 err %i\n", err);
10261025
return;
10271026
}
10281027

@@ -1056,8 +1055,7 @@ static void cpumsf_pmu_disable(struct pmu *pmu)
10561055

10571056
err = lsctl(&inactive);
10581057
if (err) {
1059-
pr_err("Loading sampling controls failed: op %i err %i\n",
1060-
2, err);
1058+
pr_err("Loading sampling controls failed: op 2 err %i\n", err);
10611059
return;
10621060
}
10631061

0 commit comments

Comments
 (0)