Skip to contentSkip to conversation

bus: arm-ccn: Fix warning message

PATCH New Pawel Moll 2 participants 2 messages Aug 18, 2014 – Aug 24, 2014

lore
Share & tools
lore

Pawel Moll

author
#0 lore raw

PATCH 1/1 bus: arm-ccn: Fix warning message

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

---
 drivers/bus/arm-ccn.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/bus/arm-ccn.c +1 -1
index 3266f8f..6f550d9 100644
@@ -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;
Signature · 1 line
1.9.1