Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753070AbdGSICt (ORCPT ); Wed, 19 Jul 2017 04:02:49 -0400 Received: from gloria.sntech.de ([95.129.55.99]:46236 "EHLO gloria.sntech.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752315AbdGSICp (ORCPT ); Wed, 19 Jul 2017 04:02:45 -0400 From: Heiko Stuebner To: Rob Herring Cc: arm@kernel.org, linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, Russell King , Kukjin Kim , Krzysztof Kozlowski , Javier Martinez Canillas , Shawn Guo , Sascha Hauer , Fabio Estevam , Jason Cooper , Andrew Lunn , Gregory Clement , Sebastian Hesselbarth , Tony Lindgren , =?ISO-8859-1?Q?Beno=EEt?= Cousson , Paul Walmsley , Simon Horman , Magnus Damm , linux-arm-kernel@lists.infradead.org, linux-samsung-soc@vger.kernel.org, linux-omap@vger.kernel.org, linux-rockchip@lists.infradead.org, linux-renesas-soc@vger.kernel.org Subject: Re: [PATCH] ARM: Convert to using %pOF instead of full_name Date: Wed, 19 Jul 2017 10:02:20 +0200 Message-ID: <3802101.Kq7DfALjfy@phil> User-Agent: KMail/5.2.3 (Linux/4.9.0-2-amd64; KDE/5.28.0; x86_64; ; ) In-Reply-To: <20170718214339.7774-1-robh@kernel.org> References: <20170718214339.7774-1-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 List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 939 Lines: 25 Am Dienstag, 18. Juli 2017, 16:42:41 CEST schrieb Rob Herring: > Now that we have a custom printf format specifier, convert users of > full_name to use %pOF instead. This is preparation to remove storing > of the full path string for each node. > > Signed-off-by: Rob Herring for the Rockchip part Acked-by: Heiko Stuebner > diff --git a/arch/arm/mach-rockchip/platsmp.c b/arch/arm/mach-rockchip/platsmp.c > index 3abafdbdd7f4..2b5b0e43d657 100644 > --- a/arch/arm/mach-rockchip/platsmp.c > +++ b/arch/arm/mach-rockchip/platsmp.c > @@ -182,8 +182,8 @@ static int __init rockchip_smp_prepare_sram(struct device_node *node) > > ret = of_address_to_resource(node, 0, &res); > if (ret < 0) { > - pr_err("%s: could not get address for node %s\n", > - __func__, node->full_name); > + pr_err("%s: could not get address for node %pOF\n", > + __func__, node); > return ret; > } >