aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm64
diff options
context:
space:
mode:
authorSuzuki K. Poulose <suzuki.poulose@arm.com>2015-04-13 05:17:55 -0400
committerWill Deacon <will.deacon@arm.com>2015-04-30 07:11:30 -0400
commit8291fd04d86b97869bd34e796bcac3141b9d5432 (patch)
tree26907766bd659e38094660dcceff469411ad2c3d /arch/arm64
parentd795ef9aa8311ca3c5158bda1edbcd14479c101c (diff)
arm64: perf: Fix the pmu node name in warning message
With commit d5efd9cc9cf2 ("arm64: pmu: add support for interrupt-affinity property"), we print a warning when we find a PMU SPI with a missing missing interrupt-affinity property in a pmu node. Unfortunately, we pass the wrong (NULL) device node to of_node_full_name, resulting in unhelpful messages such as: hw perfevents: Failed to parse <no-node>/interrupt-affinity[0] This patch fixes the name to that of the pmu node. Fixes: d5efd9cc9cf2 (arm64: pmu: add support for interrupt-affinity property) Acked-by: Mark Rutland <mark.rutland@arm.com> Signed-off-by: Suzuki K. Poulose <suzuki.poulose@arm.com> Signed-off-by: Will Deacon <will.deacon@arm.com>
Diffstat (limited to 'arch/arm64')
-rw-r--r--arch/arm64/kernel/perf_event.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm64/kernel/perf_event.c b/arch/arm64/kernel/perf_event.c
index 2a9cbcb61126..23f25acf43a9 100644
--- a/arch/arm64/kernel/perf_event.c
+++ b/arch/arm64/kernel/perf_event.c
@@ -1332,7 +1332,7 @@ static int armpmu_device_probe(struct platform_device *pdev)
1332 i); 1332 i);
1333 if (!dn) { 1333 if (!dn) {
1334 pr_warn("Failed to parse %s/interrupt-affinity[%d]\n", 1334 pr_warn("Failed to parse %s/interrupt-affinity[%d]\n",
1335 of_node_full_name(dn), i); 1335 of_node_full_name(pdev->dev.of_node), i);
1336 break; 1336 break;
1337 } 1337 }
1338 1338