Received: by 2002:ac0:a5a6:0:0:0:0:0 with SMTP id m35-v6csp488992imm; Fri, 14 Sep 2018 01:30:06 -0700 (PDT) X-Google-Smtp-Source: ANB0VdbFVkR8FsWlXL382ANaLgjcEIW976WZxqYptuZnpLNHhX4/HWShGzOVp6WT8F891uwKrosE X-Received: by 2002:a62:d2c4:: with SMTP id c187-v6mr11344968pfg.8.1536913806474; Fri, 14 Sep 2018 01:30:06 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1536913806; cv=none; d=google.com; s=arc-20160816; b=AAdWeAHjexUpqVePodXJ93i7yPK29EI+pBfYTDXEqwQAU5y/BOhrN6Q7/sDr4dwoI5 /U78vG4g42mWWbb8wH++Zb0jT5ryXJXvL+QxPPvIfv3+eIvkkBqFE3l/71ciHIKQVdpC Fci3k8tkXisAJPF21EhuI6Poq7Go/EcLh3TDlTmnCgkPKYmiVDl6hKBO0f3bQECGbZuY 5//Lwwd8q8/DsrVnNeDiTRBb999flwlskbYtHaia+I/ZjZ5P9mrIM82T3OVuFEHEuD8Q GSSM1vSHmrzWhpbjuN57I9lfmwRs1UL7VdYpSnSkhp5HE5IpPXSzrs9mZDtmi2UdPg59 QIWg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from; bh=M4/HPpDFUhQMPFxAkw6zJ5sjT3KkEIhfb0GUlpZV/xo=; b=LmkU64+ybniQfnsLM/LJ1tG0+0j/ZizPL82PFkD1yTmJZO5lGesA2bAwQ2RdYAJ/mI fyq2lbC6st9rKOh5tewZrnMex2zr41sOueqHJ8KO9OX5+NcerMqqzkEHhO20Cps1JGj6 8PvEAgrChUGv4AHNtXtiH0CJ1CtF0X0ts5KTume/g9asAZwgov717zwhl/oU+00UryXi M/9j+P6AjNSgTPnEVDfMlRPuhc12W0Rk8ggkwzR5aoRAtk4Y6tFUiBhmD2x2/RBukKPs t0QqECCSgLHtJEYM/Jm9RGS4b0Sd3GWkX2ANpV1/MKds2WUMWWz0kB2y7k3Z/Uh49LM4 58Jw== 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 i7-v6si5973469pgs.174.2018.09.14.01.29.51; Fri, 14 Sep 2018 01:30:06 -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 S1728165AbeINNnJ (ORCPT + 99 others); Fri, 14 Sep 2018 09:43:09 -0400 Received: from cloudserver094114.home.pl ([79.96.170.134]:41112 "EHLO cloudserver094114.home.pl" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727649AbeINNnJ (ORCPT ); Fri, 14 Sep 2018 09:43:09 -0400 Received: from 79.184.255.178.ipv4.supernova.orange.pl (79.184.255.178) (HELO aspire.rjw.lan) by serwer1319399.home.pl (79.96.170.134) with SMTP (IdeaSmtpServer 0.83.148) id 445fb4ad9bb43d48; Fri, 14 Sep 2018 10:29:43 +0200 From: "Rafael J. Wysocki" To: Rob Herring Cc: linux-kernel@vger.kernel.org, Viresh Kumar , linux-arm-kernel@lists.infradead.org, linux-samsung-soc@vger.kernel.org, linux-pm@vger.kernel.org Subject: Re: [PATCH] cpufreq: Convert to using %pOFn instead of device_node.name Date: Fri, 14 Sep 2018 10:27:03 +0200 Message-ID: <2755190.UQhmFvc9f1@aspire.rjw.lan> In-Reply-To: <20180828015252.28511-14-robh@kernel.org> References: <20180828015252.28511-1-robh@kernel.org> <20180828015252.28511-14-robh@kernel.org> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tuesday, August 28, 2018 3:52:15 AM CEST 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: "Rafael J. Wysocki" > Cc: Viresh Kumar > Cc: linux-arm-kernel@lists.infradead.org > Cc: linux-samsung-soc@vger.kernel.org > Cc: linux-pm@vger.kernel.org > Signed-off-by: Rob Herring > --- > drivers/cpufreq/s5pv210-cpufreq.c | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) > > diff --git a/drivers/cpufreq/s5pv210-cpufreq.c b/drivers/cpufreq/s5pv210-cpufreq.c > index 5d31c2db12a3..dbecd7667db2 100644 > --- a/drivers/cpufreq/s5pv210-cpufreq.c > +++ b/drivers/cpufreq/s5pv210-cpufreq.c > @@ -611,8 +611,8 @@ static int s5pv210_cpufreq_probe(struct platform_device *pdev) > for_each_compatible_node(np, NULL, "samsung,s5pv210-dmc") { > id = of_alias_get_id(np, "dmc"); > if (id < 0 || id >= ARRAY_SIZE(dmc_base)) { > - pr_err("%s: failed to get alias of dmc node '%s'\n", > - __func__, np->name); > + pr_err("%s: failed to get alias of dmc node '%pOFn'\n", > + __func__, np); > of_node_put(np); > return id; > } > Applied, thanks!