From patchwork Tue Jul 18 21:42:47 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Rob Herring X-Patchwork-Id: 108187 Delivered-To: patch@linaro.org Received: by 10.140.101.44 with SMTP id t41csp6479337qge; Tue, 18 Jul 2017 14:44:02 -0700 (PDT) X-Received: by 10.98.49.67 with SMTP id x64mr3871313pfx.22.1500414242294; Tue, 18 Jul 2017 14:44:02 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1500414242; cv=none; d=google.com; s=arc-20160816; b=clBXkh8uTGJ5Ok/7jsod8KNb+rE21S8xPrN2rTi8hcel699w7NjBB2q35Yt+kWbJVL 7mEAX3/rLE5T9mVNO4CT/xN8pKnc7Rv8/RO9ZGfzOLxBBBTVzt4PwQJRd4czfHLbpiwn JVTckMs27vkbMBAmfXefrfdPk02lArDPJwg4XUYPeG+s7c6NpDQSBOqk+EdTORAi6ueb FVfbP8SJpZHqD1/8U2KsB+pmsjQZCN3AJAhvGEbwELwX65kdDxsiFe/uJkIWJHZ47awG ukdrXexg/kaIzxMub+RCoBNEnBb2tyagiS2Ci8s4gqP83bxh5PRpYGQR0kA0636yyvGH SU0Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:date:subject:cc:to:from :arc-authentication-results; bh=HWSRTFuMSgH/Ofql1HsepumEg9J/CIeW4VqL4xWhU0I=; b=Xe7KznMrTitJJrBFWWHjvD7N3PbVwQV/siVCCpssFN+UcVOnNfY/hMULO7uAJYshF+ xc2pcoG/ZHywFCE2J6BIYGXdCTeIrTX8Ji5uEH+L+Ydrd6Cnd6fp04bbjf7Y4N3y5AB1 4880XaOWEJ6ygiutMNx6EnUzP1rzQmzAHERXO1oq+DBVJHkdw08rEB4+fmu/DC31k1mH B6kZ75OANBD+1y9E3vjWp8a0CW5QVPY1MeEejql+2Tuf1TWfNEI5r2GrY3R2fyDeorCF GS7fYeT9UWbii2TPAXW/ohiAP4Kecic4J5LxF2qj7XUeXoLqSYUpjb+j0UT6rKTWCmEe oHSA== 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 a64si2590684pfj.160.2017.07.18.14.44.02; Tue, 18 Jul 2017 14:44:02 -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 S1752525AbdGRVoA (ORCPT + 25 others); Tue, 18 Jul 2017 17:44:00 -0400 Received: from mail-pg0-f65.google.com ([74.125.83.65]:32821 "EHLO mail-pg0-f65.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752424AbdGRVnz (ORCPT ); Tue, 18 Jul 2017 17:43:55 -0400 Received: by mail-pg0-f65.google.com with SMTP id z1so4351566pgs.0; Tue, 18 Jul 2017 14:43:55 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=HWSRTFuMSgH/Ofql1HsepumEg9J/CIeW4VqL4xWhU0I=; b=kUIfqwa8CuF1qNU/AuvXPFXSYgxy+QXTFckxcm0oyg2TlvEIIW1fqXEgKarOqDMlFP tKElAf5vTnnPHnPpBH8Z26aArAdLcAEJM8ZY4S5HfT7bD7BLoDVD4QKER0YUjXHxzw3I OjsgiexSckxFFoQtnRkzuD3PGjqD9c/aEGo1zZAUf8HUxyQiTHZ3XqrOFdihW2hcTer7 AceoLGch9nANTT4VMVDg9sio1mC248D8jVFO9UuRwP9T6fnOQR25bxfAemLell+fgNHR Zt17/D1u6Efj/T6Vu2fUzIWpGtEkvk2RRodJE/Yl9Xk5rgs3KZPxomBOJhXpBIgD1qKP h3Jw== X-Gm-Message-State: AIVw112FH0bglZ/uzM3P6Y8D0F7Of/S0Ai02UP/pUT4Jr6nqE0mqtoGA oLw0o+eHyyW5wBo2lbs= X-Received: by 10.101.88.139 with SMTP id d11mr3822279pgu.283.1500414234762; Tue, 18 Jul 2017 14:43:54 -0700 (PDT) Received: from localhost.localdomain (24-223-123-72.static.usa-companies.net. [24.223.123.72]) by smtp.googlemail.com with ESMTPSA id r207sm7186560pfr.106.2017.07.18.14.43.53 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 18 Jul 2017 14:43:54 -0700 (PDT) From: Rob Herring To: x86@kernel.org Cc: linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, Thomas Gleixner , Ingo Molnar , "H. Peter Anvin" Subject: [PATCH] x86: Convert to using %pOF instead of full_name Date: Tue, 18 Jul 2017 16:42:47 -0500 Message-Id: <20170718214339.7774-7-robh@kernel.org> X-Mailer: git-send-email 2.11.0 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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 Cc: Thomas Gleixner Cc: Ingo Molnar Cc: "H. Peter Anvin" Cc: x86@kernel.org --- arch/x86/kernel/devicetree.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) -- 2.11.0 diff --git a/arch/x86/kernel/devicetree.c b/arch/x86/kernel/devicetree.c index 3fe45f84ced4..d7b2ab7f7c60 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 node %pOF.\n", dn); return; } mp_register_ioapic(++ioapic_id, r.start, gsi_top, &cfg);