mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-10-02 07:04:24 +00:00
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>
This commit is contained in:
parent
eeeff534e9
commit
b2ae496949
1 changed files with 2 additions and 4 deletions
|
@ -1021,8 +1021,7 @@ static void cpumsf_pmu_enable(struct pmu *pmu)
|
|||
err = lsctl(&cpuhw->lsctl);
|
||||
if (err) {
|
||||
cpuhw->flags &= ~PMU_F_ENABLED;
|
||||
pr_err("Loading sampling controls failed: op %i err %i\n",
|
||||
1, err);
|
||||
pr_err("Loading sampling controls failed: op 1 err %i\n", err);
|
||||
return;
|
||||
}
|
||||
|
||||
|
@ -1056,8 +1055,7 @@ static void cpumsf_pmu_disable(struct pmu *pmu)
|
|||
|
||||
err = lsctl(&inactive);
|
||||
if (err) {
|
||||
pr_err("Loading sampling controls failed: op %i err %i\n",
|
||||
2, err);
|
||||
pr_err("Loading sampling controls failed: op 2 err %i\n", err);
|
||||
return;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue