From: heiko@sntech.de (Heiko Stuebner)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH] ARM: Convert to using %pOF instead of full_name
Date: Wed, 19 Jul 2017 10:02:20 +0200 [thread overview]
Message-ID: <3802101.Kq7DfALjfy@phil> (raw)
In-Reply-To: <20170718214339.7774-1-robh@kernel.org>
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;
> }
>
next prev parent reply other threads:[~2017-07-19 8:02 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-07-18 21:42 [PATCH] ARM: Convert to using %pOF instead of full_name Rob Herring
2017-07-19 5:51 ` Krzysztof Kozlowski
2017-07-19 6:22 ` Uwe Kleine-König
2017-07-19 15:35 ` Rob Herring
2017-07-19 8:02 ` Heiko Stuebner [this message]
2017-07-19 9:02 ` Geert Uytterhoeven
2017-07-19 11:43 ` Gregory CLEMENT
2017-07-27 15:07 ` Paul Walmsley
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=3802101.Kq7DfALjfy@phil \
--to=heiko@sntech.de \
--cc=linux-arm-kernel@lists.infradead.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox