Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit bf87bb12 authored by Pawel Moll's avatar Pawel Moll Committed by Olof Johansson
Browse files

bus: arm-ccn: Fix warning message



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

Reported-by: default avatarDrew Richardson <drew.richardson@arm.com>
Signed-off-by: default avatarPawel Moll <pawel.moll@arm.com>
Signed-off-by: default avatarOlof Johansson <olof@lixom.net>
parent 12266db7
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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;