summaryrefslogtreecommitdiff
path: root/drivers/bus
diff options
context:
space:
mode:
authorPawel Moll <pawel.moll@arm.com>2014-08-18 21:20:49 +0400
committerOlof Johansson <olof@lixom.net>2014-08-24 22:28:30 +0400
commitbf87bb12bd7062bf577163f3f6d765debbae6200 (patch)
treef389e32fa71dd53f0d932e2e17ad85d6cce2fe64 /drivers/bus
parent12266db732ff3845eaa9ba9354c4938249787aaf (diff)
downloadlinux-bf87bb12bd7062bf577163f3f6d765debbae6200.tar.xz
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>
Diffstat (limited to 'drivers/bus')
-rw-r--r--drivers/bus/arm-ccn.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/bus/arm-ccn.c b/drivers/bus/arm-ccn.c
index 3266f8ff9311..6f550d9e7a2d 100644
--- a/drivers/bus/arm-ccn.c
+++ b/drivers/bus/arm-ccn.c
@@ -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;