From patchwork Tue Aug 28 01:52:39 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Rob Herring X-Patchwork-Id: 145264 Delivered-To: patch@linaro.org Received: by 2002:a2e:1648:0:0:0:0:0 with SMTP id 8-v6csp609718ljw; Mon, 27 Aug 2018 18:55:09 -0700 (PDT) X-Google-Smtp-Source: ANB0Vda7hRexBLVTp0iJXlAq2ZK48GMnj6FQjBZNVlWkjtR61jnlMCSfqjxQutzwyrwFD2jRYuHs X-Received: by 2002:a65:6455:: with SMTP id s21-v6mr14658866pgv.25.1535421309334; Mon, 27 Aug 2018 18:55:09 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1535421309; cv=none; d=google.com; s=arc-20160816; b=SK+Vq9GoeTjUOH8NBX2VSm9rqlGhhfO1iPzUSpkvqxNEs/Vs/VBC+NmBjo4+4brSC0 Hk58H08aSMllBzG0F0kH8jnLfj/gKuySBHiYcDKzZ6BhDqD2Q/ua3y/DAu/PltZt2Cb3 haVCaY5o0+HmS+ZxqG/OlQ89CbYWBQDt9S6jLm6r/hXmce6eaSt4WggF69mtRunvqA9a x/d2h9p5AD11RfsgRuNmOFE4md5Dw7FdnvUxdELayHan1yePg/jtMmkdUy/kN82NpQiQ UCUwE2Jeqi5VhigSkZQ3pC6TcqgoPs5pQZlgwf/uo6SAwUUY/hIUgZcZuY2CvvXCX6r8 iTQA== 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 f10-v6si935923pfe.291.2018.08.27.18.55.09; Mon, 27 Aug 2018 18:55:09 -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 S1728020AbeH1FoW (ORCPT + 32 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(-) -- 2.17.1 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; }