Commit bf87bb12 authored by Pawel Moll's avatar Pawel Moll Committed by Olof Johansson

bus: arm-ccn: Fix warning message

A message warning a user about wrong vc value was printing
out port instead.
Reported-by: default avatarDrew Richardson <drew.richardson@arm.com>
Signed-off-by: default avatarPawel Moll <pawel.moll@arm.com>
Signed-off-by: default avatarOlof Johansson <olof@lixom.net>
parent 12266db7
...@@ -662,7 +662,7 @@ static int arm_ccn_pmu_event_init(struct perf_event *event) ...@@ -662,7 +662,7 @@ static int arm_ccn_pmu_event_init(struct perf_event *event)
} }
if (e->num_vcs && vc >= e->num_vcs) { if (e->num_vcs && vc >= e->num_vcs) {
dev_warn(ccn->dev, "Invalid vc %d for node/XP %d!\n", dev_warn(ccn->dev, "Invalid vc %d for node/XP %d!\n",
port, node_xp); vc, node_xp);
return -EINVAL; return -EINVAL;
} }
valid = 1; valid = 1;
......
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