From patchwork Tue Aug 28 01:52:28 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Rob Herring X-Patchwork-Id: 145259 Delivered-To: patch@linaro.org Received: by 2002:a2e:1648:0:0:0:0:0 with SMTP id 8-v6csp609603ljw; Mon, 27 Aug 2018 18:54:58 -0700 (PDT) X-Google-Smtp-Source: ANB0VdZcCWmh3706mBbwJbXdfEsPBAHAhbijrkcFncYwizAmxB4qmDdZQWGlsTZm4noIicK51WuO X-Received: by 2002:a62:a6cc:: with SMTP id r73-v6mr16716951pfl.60.1535421298659; Mon, 27 Aug 2018 18:54:58 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1535421298; cv=none; d=google.com; s=arc-20160816; b=Vl0VrU4tQDpvRgqRKWevBfowr98yBDvdbfib8ifM83JF1WTauVg0AKrN/5ye0erqI/ I10UTBg5Rk63drMNFYU1LTz2IS+uWEtCwjyyEbflnTE5nkviEp23wpupMh0uNUt09Ekq NvOpj8xEKn3HxUoUw7YaFCnHIKByMJg+47FmPJwNt/bXcO7CBSyfJvNLigb5Nd3qFpNt 4GQmjEDqVjio3Kc4v6AeeQ2P+kQxsdD1Tfee/a1IhwmQ3bsqwl3B+Gqsl9f3HwQwn3Zu 15RzfqGnv+ycZO9HXG2oTUMhhqPkkADyuqgoYjoXTQL7OE5vOE054E9pktP0jLOHqJX2 pK6A== 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=Itk664lmdbNctR5SZGyB6I+/yMedxOONGllCxQrvwks=; b=ZzCaArDyLFYHElJXVGIZsMozik1+XhVFizhAEw15gaqU8nrs1etjWkwsBYTlrtiX8H u+DAwzEpL3kXM82OuCcn/tORe3g4gACu79zwf5f7BdKFB54+jbjteRnfnFuj/64faAap +F53FDbmAHYldSYMUr2aHHDItIsmW3UpBoCXqhC/4EBJdL8/Pt2x3bkPppFzJqVlojQt +bH3ZQjwhJrjcX46XFL2eBDx5uy3JPo9FGeqEsc1xK0VmhKzm4oYtXnuVyFrmfI/KarY bSV2TGBQDjCyuKTytmY0Q6oF1Z1+O7/bzB9AgQ3o5XDfSBDw8ki/HgXWkVviMYzhg2iv SvLQ== 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 a143-v6si1116903pfd.241.2018.08.27.18.54.58; Mon, 27 Aug 2018 18:54:58 -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 S1727813AbeH1FoL (ORCPT + 32 others); Tue, 28 Aug 2018 01:44:11 -0400 Received: from mail-oi0-f67.google.com ([209.85.218.67]:40555 "EHLO mail-oi0-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727545AbeH1FoK (ORCPT ); Tue, 28 Aug 2018 01:44:10 -0400 Received: by mail-oi0-f67.google.com with SMTP id l202-v6so7665oig.7 for ; Mon, 27 Aug 2018 18:54:54 -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=Itk664lmdbNctR5SZGyB6I+/yMedxOONGllCxQrvwks=; b=IkUyRzye5xvdC9RG+qd0nt3m6E70FruDW076x96xaDkJbI0UhlXqqRyA19qvEVggeL h3Sgg1XYnv9LhrHC8BvHnw3pqatK/0QkrE9iUmIrG8H6jas0rH2jMzUAZ1zJqgy0Ab7R dxP4YpfaM1M19qNAjqiUMrzYTXvSQx4Nw5id7tsclulcmGLDJ/K60Rx9nfARqnGCh8sq giaHc1A01JkGcpbYh1BNP3DGHi9XXhRGylt9TJDH+IYttKTj+mg1AEenw3ESbiTHn6+T RI4bx35x6H+mKRIxmTb3Oxm1EmoBvQaY2jSW7IzsrpST+HQkm9r1XoOdBSYXti9HdSFl j/QQ== X-Gm-Message-State: APzg51Cx1UXpehXudowqGOjC5KB1WYHyjcrLzPl9LPjxUeGCz00ETVq8 xhxZd2SiEH3+o5/tYyluir34F2Y= X-Received: by 2002:aca:4e50:: with SMTP id c77-v6mr1020769oib.254.1535421293719; Mon, 27 Aug 2018 18:54:53 -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.54.52 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 27 Aug 2018 18:54:52 -0700 (PDT) From: Rob Herring To: linux-kernel@vger.kernel.org Cc: Jassi Brar Subject: [PATCH] mailbox: Convert to using %pOFn instead of device_node.name Date: Mon, 27 Aug 2018 20:52:28 -0500 Message-Id: <20180828015252.28511-27-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: Jassi Brar Signed-off-by: Rob Herring --- drivers/mailbox/ti-msgmgr.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) -- 2.17.1 diff --git a/drivers/mailbox/ti-msgmgr.c b/drivers/mailbox/ti-msgmgr.c index 5bceafbf6699..713d701b6568 100644 --- a/drivers/mailbox/ti-msgmgr.c +++ b/drivers/mailbox/ti-msgmgr.c @@ -560,8 +560,8 @@ static struct mbox_chan *ti_msgmgr_of_xlate(struct mbox_controller *mbox, } err: - dev_err(inst->dev, "Queue ID %d, Proxy ID %d is wrong on %s\n", - req_qid, req_pid, p->np->name); + dev_err(inst->dev, "Queue ID %d, Proxy ID %d is wrong on %pOFn\n", + req_qid, req_pid, p->np); return ERR_PTR(-ENOENT); }