Received: by 2002:ac0:a5a6:0:0:0:0:0 with SMTP id m35-v6csp6555348imm; Mon, 27 Aug 2018 18:58:51 -0700 (PDT) X-Google-Smtp-Source: ANB0VdZ5PBE0xU28lWdrb56qEUp8CyQXykLueJHB7LSMGvcICbNSFUogZfpgnZC0JMsqApOoafpf X-Received: by 2002:a63:60c1:: with SMTP id u184-v6mr14429936pgb.266.1535421531610; Mon, 27 Aug 2018 18:58:51 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1535421531; cv=none; d=google.com; s=arc-20160816; b=FsTKoV9ffIqS1DaeOWtajwU5ckWHZZaqo4sl/wpf0OOYPSBq/lxjhxVbFdP+cIEr7w 2BJNRoQh6ipYZY8OMxpODXnZX64QERwAWmL+6tj4Fdms0gf9C3Rx2qLC9W8O7DFXbfhM VvwLXZUL3APqAqs4EMvGWef3mLgTsdHPRhjmQ36vriN6HjETxVV81kepA5FDUbQ40wEV IHcfJHPBpOrotSapbxJTqqLl0EJyzxkLo42k4lxcXEhETSmhz78FVmFJBxqz1fyMVGB3 EpiyGXYWuMKS7o2+KSdAF6irrBHK2seNaqF2mqcYDe3QKii2DOPzDiDKNdxMDDP6q+uq ld+A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:in-reply-to:message-id:date :subject:cc:to:from:arc-authentication-results; bh=uEBFqehdY54NE59d0C2vGmkFabPfL8kTAoMP2yEcUzA=; b=xvXJwChhiC1iolZkie2Ui6gDY7T1LD+vFr+tDnbcvDPoObl29fg7LKxwW41TOIjzW1 ZICft3cHhwXJlxaMwVBfMBioLJsPUOlfnLguSTuSRyUsrkLVejM1dYLwRtxBF77+jR99 kLHUOxe99IDkVqPqhGCJTc+DCkyuDKjbJkC+t0zxzgm7go4A8qpXx4R9cwdXCwaUt+rL L8ZCcSHCAs6emOBC9gVOo4Mp4JoCsM1+PHKpgwN38iXgWADduWg57cl/7po0uDScDcct ZsnMVlZ5vNhg8dorTCjdv6MwGyso7CPlZIEiDjPPF5zAfFITPlTN5l7C30h2w4Sp9NGp QaEw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id t10-v6si933303pge.624.2018.08.27.18.58.36; Mon, 27 Aug 2018 18:58:51 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728017AbeH1FoW (ORCPT + 99 others); Tue, 28 Aug 2018 01:44:22 -0400 Received: from mail-oi0-f65.google.com ([209.85.218.65]:39807 "EHLO mail-oi0-f65.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727516AbeH1FoV (ORCPT ); Tue, 28 Aug 2018 01:44:21 -0400 Received: by mail-oi0-f65.google.com with SMTP id c190-v6so15270oig.6 for ; Mon, 27 Aug 2018 18:55:05 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=uEBFqehdY54NE59d0C2vGmkFabPfL8kTAoMP2yEcUzA=; b=Pzd0TwTzK9DSppPqN/WrK81ofesUnFWkllpB56PsGnzQL4swkTRkLQmNbgY8y3W9mv VOUw945oKw7Uv4nDZksJQK0s9I+jhjx55hmVw+ljmyYarZS5VUO7trqnMqhv5xly+2FE iFNp8gHqRHLJso+3EIXhOPmTVhn3cSsHG5U9ZtFz7TgQ9B85ZqNZF/XfbDYtiiRjFRw2 P33mpf7u9BMkZwd8UlfYFefD342j4pmNjZAKH4LxX4JVXk8tLMgGb0/5H9fRyAbIjkMR AHmguAtIow5av9uG6Au76dREILrZCtUvYXVsOGoapb5WyYWJgceGRIMLMUmjRtBltm3g 10fQ== X-Gm-Message-State: APzg51CIcGgGfGDinCI3a5o+mxHu5CXPhq/vyYtxeoaLUu/wui3t5l3P 87/ELPR1uMNJUebIfgUEIVw/cWg= X-Received: by 2002:aca:c74d:: with SMTP id x74-v6mr985625oif.97.1535421304958; Mon, 27 Aug 2018 18:55:04 -0700 (PDT) Received: from xps15.herring.priv (24-155-109-49.dyn.grandenetworks.net. [24.155.109.49]) by smtp.googlemail.com with ESMTPSA id n71-v6sm1652696oig.48.2018.08.27.18.55.04 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 27 Aug 2018 18:55:04 -0700 (PDT) From: Rob Herring To: linux-kernel@vger.kernel.org Cc: Will Deacon , Mark Rutland , linux-arm-kernel@lists.infradead.org Subject: [PATCH] perf: Convert to using %pOFn instead of device_node.name Date: Mon, 27 Aug 2018 20:52:39 -0500 Message-Id: <20180828015252.28511-38-robh@kernel.org> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20180828015252.28511-1-robh@kernel.org> References: <20180828015252.28511-1-robh@kernel.org> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org In preparation to remove the node name pointer from struct device_node, convert printf users to use the %pOFn format specifier. Cc: Will Deacon Cc: Mark Rutland Cc: linux-arm-kernel@lists.infradead.org Signed-off-by: Rob Herring --- drivers/perf/arm_pmu_platform.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/perf/arm_pmu_platform.c b/drivers/perf/arm_pmu_platform.c index 96075cecb0ae..933bd8410fc2 100644 --- a/drivers/perf/arm_pmu_platform.c +++ b/drivers/perf/arm_pmu_platform.c @@ -77,14 +77,14 @@ static int pmu_parse_irq_affinity(struct device_node *node, int i) dn = of_parse_phandle(node, "interrupt-affinity", i); if (!dn) { - pr_warn("failed to parse interrupt-affinity[%d] for %s\n", - i, node->name); + pr_warn("failed to parse interrupt-affinity[%d] for %pOFn\n", + i, node); return -EINVAL; } cpu = of_cpu_node_to_id(dn); if (cpu < 0) { - pr_warn("failed to find logical CPU for %s\n", dn->name); + pr_warn("failed to find logical CPU for %pOFn\n", dn); cpu = nr_cpu_ids; } -- 2.17.1