Skip to content

Commit bf87bb1

Browse files
pawelmollolofj
authored andcommitted
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>
1 parent 12266db commit bf87bb1

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎drivers/bus/arm-ccn.c‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -662,7 +662,7 @@ static int arm_ccn_pmu_event_init(struct perf_event *event)
662662
}
663663
if (e->num_vcs && vc >= e->num_vcs) {
664664
dev_warn(ccn->dev, "Invalid vc %d for node/XP %d!\n",
665-
port, node_xp);
665+
vc, node_xp);
666666
return -EINVAL;
667667
}
668668
valid = 1;

0 commit comments

Comments
 (0)