bus: arm-ccn: Fix warning message
[firefly-linux-kernel-4.4.55.git] / drivers / bus / arm-ccn.c
index 3266f8ff931133e88ab419bc08ddad3a96bf1314..6f550d9e7a2dbd1258a2ba833bcda6fb97a003a2 100644 (file)
@@ -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;