From patchwork Tue Jul 18 21:43:02 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Rob Herring X-Patchwork-Id: 108191 Delivered-To: patch@linaro.org Received: by 10.140.101.44 with SMTP id t41csp6479705qge; Tue, 18 Jul 2017 14:44:26 -0700 (PDT) X-Received: by 10.84.234.8 with SMTP id m8mr3878766plk.1.1500414265914; Tue, 18 Jul 2017 14:44:25 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1500414265; cv=none; d=google.com; s=arc-20160816; b=t1Bd81LWYtYhf+TKlVcCpmdtAwZYo03802SForruguF1Iej5i/qd3ZZLHa+rVYKfKr hBwHfyMdKSIR8ilVIhk4QNqS0SzJb13RMVfouZUkNo82/s8mHP0lHNmaVSslqnWrSKVK yeIKB3kIt/Mt5HtKm2zbfJ9SX3BpGuyq/Izz6UTrFfIvr9E9Vg88gZXuoKnyEPhy4roz JwYT/3AYfNS5YfCoSnlxhZOY2W9O53LdPmt/V9VXWP20gJYL4OYk9OdAvyMTuCsXZ/1x daeEGnPt0vaw4vfXuchnO7An+tnJum9qomphYQPG358qXl2rEW/v1as22K5E85lTY7da jeIg== 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=EOH8HeQb26FQ/P+cd4g+fWDZ3eXruM1KYYelmKGCCvA=; b=caUa4a4wNgNjW7Zq6fnOh0ed55X4x2LIdczvbQL1LWj/e8Vrcx9DhmJ//Elo2tZOrs SxU7jvpKr7Ad0wJrDAehk684oHtlUbp6/ZEaV00XEOgN8BeHqSvlco9E3lEP9KsD4bod CLK7SLB1E3tDr1PF/n6LW4ZrGCmSojeoNLmoJso8pd6iDhqi+GBk+Ll7SWTDXkRUOVLp wAWHMpNVYOBBrlNnpEowtgjNZTqqfL0qptK42gKK3uPBmZpDC+U1fOzUFV46kQa3h6lG GDuUb5lNfwMqX9VzKchIIvoigxeFLm6nx0o+C6dLyC8+lhHwGv4Hk8mKjQbPQDpAn+p3 2YFQ== 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 f2si2668474pgr.380.2017.07.18.14.44.25; Tue, 18 Jul 2017 14:44:25 -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 S1752711AbdGRVoU (ORCPT + 25 others); Tue, 18 Jul 2017 17:44:20 -0400 Received: from mail-pg0-f65.google.com ([74.125.83.65]:34669 "EHLO mail-pg0-f65.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752681AbdGRVoR (ORCPT ); Tue, 18 Jul 2017 17:44:17 -0400 Received: by mail-pg0-f65.google.com with SMTP id v190so4353302pgv.1; Tue, 18 Jul 2017 14:44:16 -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=EOH8HeQb26FQ/P+cd4g+fWDZ3eXruM1KYYelmKGCCvA=; b=Hj3AwqLwiTTrExrHhgo5bF2AY88q415KYTpaiSR89sLM5pCRtPU/cYy4m5Cb+FdpbZ sgVztuMvT7Nb0wy9+5WrdOUZlY04dr+XrCTtaZGbWyG66vPGrJ4DrV1UKoetMHrYRD4M 7+TICFLIL8RNJXVzuDZwpH3MaiTOyPEJv4XYAWAz/YvCItnc/YI4Ref/3ENNyvwilKjQ 6vOJ9kc5onjhHwnGv/z45jiuzXLTya+o8TgqdYmq8EVl+SRLyBCU4TA8owC0tUxrpqR/ 0Dch8zmhR15nlGaFlajBcd+hNVgLZMhHtVDUWYEc2XrXIVbTgbQRQRlMduL12OrfoTa1 4diQ== X-Gm-Message-State: AIVw111cQdGMmnRT9dFWrHdbmKWR2c3uKp6j9W4Vn7dISZm9gbEzmgwL imRZ5jobOm3ZJw== X-Received: by 10.84.236.76 with SMTP id h12mr3931789pln.88.1500414256489; Tue, 18 Jul 2017 14:44:16 -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.44.15 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 18 Jul 2017 14:44:15 -0700 (PDT) From: Rob Herring To: Alan Tull , Greg Kroah-Hartman Cc: linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, Moritz Fischer , linux-fpga@vger.kernel.org Subject: [PATCH] fpga: Convert to using %pOF instead of full_name Date: Tue, 18 Jul 2017 16:43:02 -0500 Message-Id: <20170718214339.7774-22-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: Alan Tull Cc: Moritz Fischer Cc: linux-fpga@vger.kernel.org --- drivers/fpga/fpga-region.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) -- 2.11.0 Acked-by: Moritz Fischer Acked-by: Alan Tull diff --git a/drivers/fpga/fpga-region.c b/drivers/fpga/fpga-region.c index 3b6b2f4182a1..d9ab7c75b14f 100644 --- a/drivers/fpga/fpga-region.c +++ b/drivers/fpga/fpga-region.c @@ -319,8 +319,8 @@ static int child_regions_with_firmware(struct device_node *overlay) of_node_put(child_region); if (ret) - pr_err("firmware-name not allowed in child FPGA region: %s", - child_region->full_name); + pr_err("firmware-name not allowed in child FPGA region: %pOF", + child_region); return ret; }