Received: by 2002:ac0:a5a6:0:0:0:0:0 with SMTP id m35-v6csp6555253imm; Mon, 27 Aug 2018 18:58:41 -0700 (PDT) X-Google-Smtp-Source: ANB0VdalNZyVYHkurYNf+GdiB01a0Fxy+UiNukWLS0v2dqm1UHcA6ONfWgbbOgl9j37Km3jebJfF X-Received: by 2002:a17:902:a613:: with SMTP id u19-v6mr15614412plq.234.1535421521464; Mon, 27 Aug 2018 18:58:41 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1535421521; cv=none; d=google.com; s=arc-20160816; b=GnMAR5wlIFINjdjf8Pb7HQkU9dAzctU9SWDaqSN8EdPvkCk6Q0/2yg1Jycf9TYnXhL XGEjJJRUBpWwNY/erJ8AFQtm3fRogfrNm7h1B/4IzRFi2hrnpdBhp5gf2oIMJrKxxRvC qu3u7KTvv4ppk+gN7h6+2Z0OTYEj3ve1tIG4lGTfpuNPbCnOrYuHKmWAIX6Oa3W4D+1p +fe3PAuDGgjzVNCeIVuc6152j0KoPrketOIHmCHXlL5Xt9TIw7P+fo4fbypIWtZx1llS fTTi+i8fjeyS3CgaBszGyjUvS6jc/DatQ4GDet8fYWmuw5j80ZSfaV+lyxib+UU28qIm MWBw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:in-reply-to:message-id:date :subject:cc:to:from:arc-authentication-results; bh=R/zzWRmdkz+/e+qsAXR3rufuCezNemtFvvshUfI3oCs=; b=GnDkqPpTkl5Mr8So77A0rEsXpZROxFuplSg+ge3X/clzSUN/pOHsOBhzumn/aLdvC4 kJa9Y1H/oFMp74FDgyH0or/ipjbvBq2CIs64qI51/f19Phc1AOFB3HdWCeDnNg30gvCt BHlQzfylswmJd+1+NmBMQ2UTBnT06Tc75G7EHXCbnIFCCNIw7sCG11+5W5TSv1cDN6oJ mtfxIkb95vmz8bRNHnpluZz5MooifAI3dnUfVSo7MwVVDzHepRMPsdRVoSHsNzPKzl4L X4sDR/78bsJG1ugawNJ14/KDOWQ04LK0ishQbtWn395tQqtmdVX1uDGT/XE6tb486KES 3gPQ== 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id y27-v6si962569pgc.152.2018.08.27.18.58.26; Mon, 27 Aug 2018 18:58:41 -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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727956AbeH1FoT (ORCPT + 99 others); Tue, 28 Aug 2018 01:44:19 -0400 Received: from mail-oi0-f68.google.com ([209.85.218.68]:44266 "EHLO mail-oi0-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727516AbeH1FoS (ORCPT ); Tue, 28 Aug 2018 01:44:18 -0400 Received: by mail-oi0-f68.google.com with SMTP id l82-v6so1713325oih.11; Mon, 27 Aug 2018 18:55:02 -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:in-reply-to :references; bh=R/zzWRmdkz+/e+qsAXR3rufuCezNemtFvvshUfI3oCs=; b=C/Tt/9jAvuuDF74LY8c3PSiW7z2abqcJjUvYIptp1qK9gO6mQKHqYw9Wd1DvfpQcmC I4dXYNklFkyGjciaLtquTj24nILroaWwqL9z0W2F3hi0PWAo/4JOaPKKB7L6+mHVry+d DVmZ/XrgVFPEjfb++V9G0G6+ILlJsdhyuZoHeH9FgN2QlENJaYX29nQC/9ytjl2NDp6q n7cZLtNXWlyqlpGMFI8/G2/XeHP/70GkqQ0YqED2OQf+Rjq43TtiEwyRkq2yFgKyXihx HiuQAMrTJ5r0zhIi1zFqP+83ECt8J8SYNLY4KD0oQlO1DFR1dWxpqxAjua2oHWT93LJM i4JQ== X-Gm-Message-State: APzg51BhR8PG9rVPrVSnEtuA/rJxkWGlLgwNIEj5eRv3fNXRp5z77RFm dg1U9aWfEd9ywKFO0yqdJ89C+fI= X-Received: by 2002:a54:448b:: with SMTP id v11-v6mr1173427oiv.208.1535421302005; Mon, 27 Aug 2018 18:55:02 -0700 (PDT) Received: from xps15.herring.priv (24-155-109-49.dyn.grandenetworks.net. [24.155.109.49]) by smtp.googlemail.com with ESMTPSA id n71-v6sm1652696oig.48.2018.08.27.18.55.01 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 27 Aug 2018 18:55:01 -0700 (PDT) From: Rob Herring To: linux-kernel@vger.kernel.org Cc: Andrew Lunn , Florian Fainelli , "David S. Miller" , netdev@vger.kernel.org Subject: [PATCH] net: phy: Convert to using %pOFn instead of device_node.name Date: Mon, 27 Aug 2018 20:52:36 -0500 Message-Id: <20180828015252.28511-35-robh@kernel.org> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20180828015252.28511-1-robh@kernel.org> References: <20180828015252.28511-1-robh@kernel.org> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org In preparation to remove the node name pointer from struct device_node, convert printf users to use the %pOFn format specifier. Cc: Andrew Lunn Cc: Florian Fainelli Cc: "David S. Miller" Cc: netdev@vger.kernel.org Signed-off-by: Rob Herring --- drivers/net/phy/mdio-thunder.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/net/phy/mdio-thunder.c b/drivers/net/phy/mdio-thunder.c index 564616968cad..1546f6398831 100644 --- a/drivers/net/phy/mdio-thunder.c +++ b/drivers/net/phy/mdio-thunder.c @@ -73,8 +73,8 @@ static int thunder_mdiobus_pci_probe(struct pci_dev *pdev, err = of_address_to_resource(node, 0, &r); if (err) { dev_err(&pdev->dev, - "Couldn't translate address for \"%s\"\n", - node->name); + "Couldn't translate address for \"%pOFn\"\n", + node); break; } -- 2.17.1