From patchwork Tue Jul 18 21:43:37 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Rob Herring X-Patchwork-Id: 108207 Delivered-To: patch@linaro.org Received: by 10.140.101.44 with SMTP id t41csp6481292qge; Tue, 18 Jul 2017 14:46:14 -0700 (PDT) X-Received: by 10.99.23.100 with SMTP id 36mr3906503pgx.118.1500414374870; Tue, 18 Jul 2017 14:46:14 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1500414374; cv=none; d=google.com; s=arc-20160816; b=hVJagE8Htk8CGcIYTfv7OkMGhh1BY0NdbvgEPo+W/DIR1uMg3UWynPsqbg2jH69Ue2 Ic+vSP0Wu2C72WDLmNBREYwwu55ry8cma+LKorxtErF2nKUTp8vt+Mu5V4i3lN4TXL9y 3smNAVvg9mgyTBJfCE3DpQ489OzRR//IXYSFEUXOyArys6O3pKZX66tGb1UvfW6RKdqo Ew5IKqQ9bGuoO95DwLDZSS2yOOLJ8ZkockNShIKMyW5ZL3c99VjAdjgodnN+wZ4ZGn+Z LyIhsumOGjFV4OX1ubS9WnV0v16Fvxy0ZxLVsU84zVWMSLmwrmyx8BfvBeTVD9SYhRho E6nw== 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=WIi8hJTViMLtMK4tBY5niYYKNCF/vEt3TWfxl00Y0xU=; b=LVCxwEwizFtOpXvN/ZXMNCzNCDaYjzyL5VRvU2ullZTi2gmFS+++ybEVQ1Qqt9kvmV 8K26S0MmxtiCMe1LRpxlP4BCgsmqN22xB2k3OEvupx6q2qC3J7vxYzPC+qHddeTsTQCH soAGwomzqPR5Xniedh0RedEwqMrT4fNK8tEUWGVjruuzArEyPCkBi5cWUQRvgVIKA/iW OXKtvk+u/xTAIwcz1nseztVq5/gU4gdRtaLcrUccUlkMX9lWuMqPC0T4Y6Meqr/f5BuA HGzTiN8JNhcjZ1acNZtelURnc3LwEUFIzA57LkPwREZunKAXsTqUjJfO4NZUnHfJF+eL Pkvw== 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 i61si2651668plb.286.2017.07.18.14.46.14; Tue, 18 Jul 2017 14:46:14 -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 S1753191AbdGRVqL (ORCPT + 25 others); Tue, 18 Jul 2017 17:46:11 -0400 Received: from mail-pg0-f67.google.com ([74.125.83.67]:33153 "EHLO mail-pg0-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753039AbdGRVpP (ORCPT ); Tue, 18 Jul 2017 17:45:15 -0400 Received: by mail-pg0-f67.google.com with SMTP id z1so4354094pgs.0; Tue, 18 Jul 2017 14:45:15 -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=WIi8hJTViMLtMK4tBY5niYYKNCF/vEt3TWfxl00Y0xU=; b=cIk+DD9OaoDwu1a7FytOa4L2W8srfuioNLhKcz8PR0MIc1q/MecB6Wu54yIiJsamCS hHps7DwDkl5g8IbVLcUHVOWsg2X0qWMJSM9iF13EUVzfdaZBP43aHvzBOACNEICP8XG2 +2bDRHyQJ33qcnbGxS/MgefKTLzqsq6N86qa3O30W63RmyONSejG/WpMtTU+sl8gKbrA T30gaZZYe2W1hTAu2U963hE8GStf1z/l/inHrlhpOWY9fPNc0/M2pF69o0mY+poDofnc 20g02574Je4zliC85K+oKCj/FGCJ9ogtt5Z7hTSgF8MYLaupfj9aG5sV8uu8mU4m91G+ bPgA== X-Gm-Message-State: AIVw111thSFFv6eMz5pPtXVYrx5tzXMDEZqmH11UYzRelRFE9p1rZVyO UI2sgw6hHJr3mg== X-Received: by 10.84.169.227 with SMTP id h90mr3848630plb.145.1500414315353; Tue, 18 Jul 2017 14:45:15 -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.45.13 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 18 Jul 2017 14:45:14 -0700 (PDT) From: Rob Herring To: Benjamin Herrenschmidt , Paul Mackerras , Michael Ellerman Cc: linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, linuxppc-dev@lists.ozlabs.org Subject: [PATCH] virt: Convert to using %pOF instead of full_name Date: Tue, 18 Jul 2017 16:43:37 -0500 Message-Id: <20170718214339.7774-57-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 --- drivers/virt/fsl_hypervisor.c | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) -- 2.11.0 diff --git a/drivers/virt/fsl_hypervisor.c b/drivers/virt/fsl_hypervisor.c index d3eca879a0a8..d993df5586c0 100644 --- a/drivers/virt/fsl_hypervisor.c +++ b/drivers/virt/fsl_hypervisor.c @@ -841,8 +841,8 @@ static int __init fsl_hypervisor_init(void) handle = of_get_property(np, "interrupts", NULL); irq = irq_of_parse_and_map(np, 0); if (!handle || (irq == NO_IRQ)) { - pr_err("fsl-hv: no 'interrupts' property in %s node\n", - np->full_name); + pr_err("fsl-hv: no 'interrupts' property in %pOF node\n", + np); continue; } @@ -869,8 +869,8 @@ static int __init fsl_hypervisor_init(void) */ dbisr->partition = ret = get_parent_handle(np); if (ret < 0) { - pr_err("fsl-hv: node %s has missing or " - "malformed parent\n", np->full_name); + pr_err("fsl-hv: node %pOF has missing or " + "malformed parent\n", np); kfree(dbisr); continue; } @@ -881,8 +881,8 @@ static int __init fsl_hypervisor_init(void) ret = request_irq(irq, fsl_hv_isr, 0, np->name, dbisr); if (ret < 0) { - pr_err("fsl-hv: could not request irq %u for node %s\n", - irq, np->full_name); + pr_err("fsl-hv: could not request irq %u for node %pOF\n", + irq, np); kfree(dbisr); continue; }