From: Pawel Moll Date: Mon, 18 Aug 2014 17:20:49 +0000 (+0100) Subject: bus: arm-ccn: Fix warning message X-Git-Tag: v3.17-rc2~7^2 X-Git-Url: https://git.kernel.dk/?a=commitdiff_plain;h=bf87bb12bd7062bf577163f3f6d765debbae6200;p=linux-2.6-block.git bus: arm-ccn: Fix warning message A message warning a user about wrong vc value was printing out port instead. Reported-by: Drew Richardson Signed-off-by: Pawel Moll Signed-off-by: Olof Johansson --- diff --git a/drivers/bus/arm-ccn.c b/drivers/bus/arm-ccn.c index 3266f8ff9311..6f550d9e7a2d 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;