From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932097AbdGUJpM (ORCPT ); Fri, 21 Jul 2017 05:45:12 -0400 Received: from terminus.zytor.com ([65.50.211.136]:42283 "EHLO terminus.zytor.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753881AbdGUJpK (ORCPT ); Fri, 21 Jul 2017 05:45:10 -0400 Date: Fri, 21 Jul 2017 02:41:42 -0700 From: tip-bot for Rob Herring Message-ID: Cc: torvalds@linux-foundation.org, hpa@zytor.com, robh@kernel.org, peterz@infradead.org, linux-kernel@vger.kernel.org, tglx@linutronix.de, mingo@kernel.org Reply-To: torvalds@linux-foundation.org, hpa@zytor.com, robh@kernel.org, peterz@infradead.org, mingo@kernel.org, linux-kernel@vger.kernel.org, tglx@linutronix.de In-Reply-To: <20170718214339.7774-7-robh@kernel.org> References: <20170718214339.7774-7-robh@kernel.org> To: linux-tip-commits@vger.kernel.org Subject: [tip:x86/urgent] x86/devicetree: Convert to using %pOF instead of ->full_name Git-Commit-ID: db15e7f27369b81b6605a546d54eb844f87370a5 X-Mailer: tip-git-log-daemon Robot-ID: Robot-Unsubscribe: Contact to get blacklisted from these emails MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset=UTF-8 Content-Disposition: inline Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Commit-ID: db15e7f27369b81b6605a546d54eb844f87370a5 Gitweb: http://git.kernel.org/tip/db15e7f27369b81b6605a546d54eb844f87370a5 Author: Rob Herring AuthorDate: Tue, 18 Jul 2017 16:42:47 -0500 Committer: Ingo Molnar CommitDate: Fri, 21 Jul 2017 10:14:15 +0200 x86/devicetree: Convert to using %pOF instead of ->full_name 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 device node. Signed-off-by: Rob Herring Cc: Linus Torvalds Cc: Peter Zijlstra Cc: Thomas Gleixner Cc: devicetree@vger.kernel.org Link: http://lkml.kernel.org/r/20170718214339.7774-7-robh@kernel.org [ Clarify the error message while at it, as 'node' is ambiguous. ] Signed-off-by: Ingo Molnar --- arch/x86/kernel/devicetree.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/arch/x86/kernel/devicetree.c b/arch/x86/kernel/devicetree.c index 3fe45f8..cbf1f6b 100644 --- a/arch/x86/kernel/devicetree.c +++ b/arch/x86/kernel/devicetree.c @@ -235,8 +235,7 @@ static void __init dtb_add_ioapic(struct device_node *dn) ret = of_address_to_resource(dn, 0, &r); if (ret) { - printk(KERN_ERR "Can't obtain address from node %s.\n", - dn->full_name); + printk(KERN_ERR "Can't obtain address from device node %pOF.\n", dn); return; } mp_register_ioapic(++ioapic_id, r.start, gsi_top, &cfg);