[linux-yocto] [PATCH 36/52] bus: arm-ccn: Fix warning message

Daniel Dragomir daniel.dragomir at windriver.com
Wed Jan 28 09:18:50 PST 2015


From: Jonas Svennebring <jonas.svennebring at gmail.com>

commit bf87bb12bd7062bf577163f3f6d765debbae6200 upstream

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

Reported-by: Drew Richardson <drew.richardson at arm.com>
Signed-off-by: Pawel Moll <pawel.moll at arm.com>
Signed-off-by: Olof Johansson <olof at lixom.net>
Signed-off-by: Jonas Svennebring <jonas.svennebring at gmail.com>
---
 drivers/bus/arm-ccn.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/bus/arm-ccn.c b/drivers/bus/arm-ccn.c
index c38e9d1..b7edd2c 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;
-- 
1.8.1.4



More information about the linux-yocto mailing list