Received: by 2002:ac0:a5a6:0:0:0:0:0 with SMTP id m35-v6csp7329639imm; Tue, 28 Aug 2018 10:04:53 -0700 (PDT) X-Google-Smtp-Source: ANB0Vda1x9aOJBng4XZ39ygkdXdKX9ja5haOzeNlvxbGMIKS2q6NMO+XJdmorF1Cq6gLvX40jeKA X-Received: by 2002:a17:902:7102:: with SMTP id a2-v6mr2364983pll.217.1535475893525; Tue, 28 Aug 2018 10:04:53 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1535475893; cv=none; d=google.com; s=arc-20160816; b=C1CY2k+LjHytu2zqxaCIczsHPeuJOpdZgrTemji9Uax+Xu331QdtgXapJD1IPr5ADv etAqTC3tmM2wKMXYFDGnEapamf5UZ+zlCYVf/zj89VnwS3pkIQ/j8P8A4ewfsm1k/B9r 4Z0tJ6oilpBNACbPL/qGWhg//6Zx60XqEgp/Rgdpuk7c6xD+nEXSyCtwEcJa4ETjI6mV CwwGVyM5ZyDcy6cD6ZPt0cOEAl0XLZA3ZZtnfB/3DN9dTbmKXDDawY+r9JvaPPL2EveO 8dSBHoCT+YX7tUecmWMF2W12uc2VAQjOl0ktCsCeukjqZ37PGlWh4x64PJL2kw08Zvsd mwzg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:arc-authentication-results; bh=VhDMQL7tDmtrpQhkkPWJKQJ+TNb/9LC1o3oWj1g0FN0=; b=HMxuFIJ2qsFVcbCX+W/iiNUo+As3mjnZdgECBzeRICC9ywkhXpLoVMHPYnMCu8I4g0 Fw9WJZLvR1GzKZ2ycZDXH/qZzLViwDvdHCZv9gJzOPjoBM8eq3bcdMNY47lBxQGSSAVN dNO1nrCCUQtv8Ot8FMbIi5B+QQd5AAg56YzAZ86sIbFaqj67fKOlePzvr5A9/C89QIbz Zn4fmOitfmcI+g0CvvfFN96ut1au749jevNODtQuh8MuB85hs56PrYTGs48dyZeenhOi faXd/b/AwvZoqA4D5VNyoPlwXhHUCL3o4SX6B/iUUHAguLiafipkgXNkzUeLcMi+xqxS +SnQ== 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id v4-v6si1439515plb.400.2018.08.28.10.04.37; Tue, 28 Aug 2018 10:04:53 -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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727590AbeH1UzV (ORCPT + 99 others); Tue, 28 Aug 2018 16:55:21 -0400 Received: from foss.arm.com ([217.140.101.70]:42606 "EHLO foss.arm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727054AbeH1UzV (ORCPT ); Tue, 28 Aug 2018 16:55:21 -0400 Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.72.51.249]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id 902FD80D; Tue, 28 Aug 2018 10:02:47 -0700 (PDT) Received: from edgewater-inn.cambridge.arm.com (usa-sjc-imap-foss1.foss.arm.com [10.72.51.249]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPA id 61D253F5BD; Tue, 28 Aug 2018 10:02:47 -0700 (PDT) Received: by edgewater-inn.cambridge.arm.com (Postfix, from userid 1000) id EC0161AE311D; Tue, 28 Aug 2018 18:02:58 +0100 (BST) Date: Tue, 28 Aug 2018 18:02:58 +0100 From: Will Deacon To: Rob Herring Cc: linux-kernel@vger.kernel.org, Mark Rutland , linux-arm-kernel@lists.infradead.org Subject: Re: [PATCH] perf: Convert to using %pOFn instead of device_node.name Message-ID: <20180828170258.GD19825@arm.com> References: <20180828015252.28511-1-robh@kernel.org> <20180828015252.28511-38-robh@kernel.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20180828015252.28511-38-robh@kernel.org> User-Agent: Mutt/1.5.23 (2014-03-12) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Aug 27, 2018 at 08:52:39PM -0500, Rob Herring wrote: > 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(-) Cheers, I can queue this up for 4.20. Let me know if you'd rather take it along with the name pointer removal instead. Will > 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 >