bus: arm-ccn: Fix warning message
PATCH 1/1 bus: arm-ccn: Fix warning message
A message warning a user about wrong vc value was printing out port instead.
Reported-by Drew Richardson <[email protected]>
Signed-off-by Pawel Moll <[email protected]>
--- drivers/bus/arm-ccn.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/bus/arm-ccn.c +1 -1
@@ -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
Olof Johansson
AppliedPATCH 1/1 bus: arm-ccn: Fix warning message
Quoted 5 lines · Pawel Moll
A message warning a user about wrong vc value was printing out port instead.
Reported-by Drew Richardson <[email protected]>Signed-off-by Pawel Moll <[email protected]>
Applied.
-Olof