bus: arm-ccn: Fix warning message

A message warning a user about wrong vc value was printing
out port instead.

Reported-by: Drew Richardson <drew.richardson@arm.com>
Signed-off-by: Pawel Moll <pawel.moll@arm.com>
Signed-off-by: Olof Johansson <olof@lixom.net>
This commit is contained in:
Pawel Moll 2014-08-18 18:20:49 +01:00 committed by Olof Johansson
parent 12266db732
commit bf87bb12bd
1 changed files with 1 additions and 1 deletions

View File

@ -662,7 +662,7 @@ static int arm_ccn_pmu_event_init(struct perf_event *event)
}
if (e->num_vcs && vc >= e->num_vcs) {
dev_warn(ccn->dev, "Invalid vc %d for node/XP %d!\n",
port, node_xp);
vc, node_xp);
return -EINVAL;
}
valid = 1;