Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1691089

Re: [PATCH] ARM: Convert to using %pOF instead of full_name

From Heiko Stuebner <heiko@sntech.de>
Newsgroups linux.kernel
Subject Re: [PATCH] ARM: Convert to using %pOF instead of full_name
Date 2017-07-19 10:10 +0200
Message-ID <u4Sdr-5NQ-3@gated-at.bofh.it> (permalink)
References <u4IQN-86Q-13@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


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 <robh@kernel.org>

for the Rockchip part
Acked-by: Heiko Stuebner <heiko@sntech.de>

> 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;
>  	}
> 

Back to linux.kernel | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

[PATCH] ARM: Convert to using %pOF instead of full_name Rob Herring <robh@kernel.org> - 2017-07-19 00:10 +0200
  Re: [PATCH] ARM: Convert to using %pOF instead of full_name Krzysztof Kozlowski <krzk@kernel.org> - 2017-07-19 08:00 +0200
  Re: [PATCH] ARM: Convert to using %pOF instead of full_name Uwe Kleine-König          <u.kleine-koenig@pengutronix.de> - 2017-07-19 08:30 +0200
    Re: [PATCH] ARM: Convert to using %pOF instead of full_name Rob Herring <robh@kernel.org> - 2017-07-19 17:40 +0200
  Re: [PATCH] ARM: Convert to using %pOF instead of full_name Heiko Stuebner <heiko@sntech.de> - 2017-07-19 10:10 +0200
  Re: [PATCH] ARM: Convert to using %pOF instead of full_name Geert Uytterhoeven <geert@linux-m68k.org> - 2017-07-19 11:10 +0200
  Re: [PATCH] ARM: Convert to using %pOF instead of full_name Gregory CLEMENT <gregory.clement@free-electrons.com> - 2017-07-19 13:50 +0200
  Re: [PATCH] ARM: Convert to using %pOF instead of full_name Paul Walmsley <paul@pwsan.com> - 2017-07-27 17:20 +0200

csiph-web