diff options
author | Pawel Moll <pawel.moll@arm.com> | 2014-08-18 18:20:49 +0100 |
---|---|---|
committer | Olof Johansson <olof@lixom.net> | 2014-08-24 11:28:30 -0700 |
commit | bf87bb12bd7062bf577163f3f6d765debbae6200 (patch) | |
tree | f389e32fa71dd53f0d932e2e17ad85d6cce2fe64 /drivers/bus | |
parent | 12266db732ff3845eaa9ba9354c4938249787aaf (diff) | |
download | op-kernel-dev-bf87bb12bd7062bf577163f3f6d765debbae6200.zip op-kernel-dev-bf87bb12bd7062bf577163f3f6d765debbae6200.tar.gz |
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.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/bus/arm-ccn.c b/drivers/bus/arm-ccn.c index 3266f8f..6f550d9 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; |