diff options
author | Pawel Moll <pawel.moll@arm.com> | 2014-08-18 21:20:49 +0400 |
---|---|---|
committer | Olof Johansson <olof@lixom.net> | 2014-08-24 22:28:30 +0400 |
commit | bf87bb12bd7062bf577163f3f6d765debbae6200 (patch) | |
tree | f389e32fa71dd53f0d932e2e17ad85d6cce2fe64 /drivers/bus/arm-ccn.c | |
parent | 12266db732ff3845eaa9ba9354c4938249787aaf (diff) | |
download | linux-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/arm-ccn.c')
-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 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; |