From patchwork Tue Aug 28 01:52:12 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Rob Herring X-Patchwork-Id: 145241 Delivered-To: patch@linaro.org Received: by 2002:a2e:1648:0:0:0:0:0 with SMTP id 8-v6csp608318ljw; Mon, 27 Aug 2018 18:53:11 -0700 (PDT) X-Google-Smtp-Source: ANB0VdaUd/JbaSUGe4SfuK+S1Ue2fIqv8yCAUh8VVJjauzdRJMGn13jaTpFK9S0WopsNQgZUoWO+ X-Received: by 2002:a62:3644:: with SMTP id d65-v6mr14317097pfa.133.1535421190856; Mon, 27 Aug 2018 18:53:10 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1535421190; cv=none; d=google.com; s=arc-20160816; b=oBkiGiPWrKCPoxWL51DGUexC5c4E37tF5jupamO36aQrvJP9Wx3GERU/kXvh7ajyLy qRPqurlQWH7tnnY5TsvLDruRTd5UHdOXJvxmwNyHBzAJGYZvjBHK80DlE7S8v6IKLiPR xhBUkufB61wBtC7WTNpQ59KjNrFhZnWamCW4wfpK+x0kCBSK1zoc6xsqy8H5XZHz+6et fGrO2oFbgr+T4T295X5On+OcHdXe3fxmbKxyqjSzs8C7YuPMIQIz/Xng1AN/qsI/3wyY W/W+0BKOpW9m0tUNdTRMrpFhdrlZVDX2CtfYXf2foTyJMoaZQgK4LiJVfxn3zLv4cTWG QKUw== 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:to:from:arc-authentication-results; bh=RLd8CrGOm0fZtggwupGlOYHWMuzZG2oWmplDRGYJjoQ=; b=lm+skSCA++e5J4guVzpDzoHEZipeOrBNqhA1pByFY0LkZiFyt3OEuAQfHsJYV9UAnu 1Y8q+j0/cTvh6o02e2TjH5ibc74SPxmSQ9I89PeCo2mhBv+EZ4NDvzw5yDBFqUtmJXJ1 bWUsYOh2rxygDrmNWCroNuRN+o6fJiI5/YI1ak6Qt945cWCqumDlPLj1KIVnwQ603Anr uypBeWpA8MOM+IFbTjTH3quYsICwEn9/zBIRwzZWbc7nSk9RQTyexR5FFuEU8YOThCCv wKBQ1okoqkx/V2E8FxERHRWnbm5OP62r463PFrKOAz9ZkYIZ+I6ziYKfJGpkDOBQQfEy ZARQ== 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 o14-v6si938359pgl.614.2018.08.27.18.53.10; Mon, 27 Aug 2018 18:53:10 -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 S1727427AbeH1FmV (ORCPT + 32 others); Tue, 28 Aug 2018 01:42:21 -0400 Received: from mail-oi0-f68.google.com ([209.85.218.68]:34214 "EHLO mail-oi0-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726998AbeH1FmU (ORCPT ); Tue, 28 Aug 2018 01:42:20 -0400 Received: by mail-oi0-f68.google.com with SMTP id 13-v6so40388ois.1 for ; Mon, 27 Aug 2018 18:53:05 -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:subject:date:message-id:in-reply-to :references; bh=RLd8CrGOm0fZtggwupGlOYHWMuzZG2oWmplDRGYJjoQ=; b=lChJBG03lbGpbh7mbXXIRvkqovqS8Zmkpk80/qFY0qXbFgZV58pdwjHsFN0K9f8sfS 6VqUR5rUhys/yzxyJ+/G3nXY203Pnau/m2rbOAR1puY3HcviePPFIkIMbIfwADhrsBdA UKFXrnCYe9E9tt9noMmg/h1EM2zbHlheTVLBYwW4lcpCeiM3NWWAW+5ZcCdH75QzaqMg 7J9h3MSV/kNiaCXYhkJhUG45ewCvoF1gs6tdYWXOhxMO4FIGv2fIb3jDVJh5Hvsc//KV s0el+oHx3sE7DM5gdsCQSeFX2AsLphgq2kq+pYQxXhdGoagWt0H8+GXtBrQE0h+N340C svOA== X-Gm-Message-State: APzg51DZn0/txgGhQQE9iDy925NZV6JPNFY1rCXr+n5L/26n0I4XC5uW h5ViCQ0w/g3S/Ft+UNuKixbcPYs= X-Received: by 2002:aca:e2d3:: with SMTP id z202-v6mr952444oig.121.1535421184642; Mon, 27 Aug 2018 18:53:04 -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.53.03 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 27 Aug 2018 18:53:03 -0700 (PDT) From: Rob Herring To: linux-kernel@vger.kernel.org Subject: [PATCH] bus: mvebu-mbus: Convert to using %pOFn instead of device_node.name Date: Mon, 27 Aug 2018 20:52:12 -0500 Message-Id: <20180828015252.28511-11-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. Signed-off-by: Rob Herring --- drivers/bus/mvebu-mbus.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) -- 2.17.1 diff --git a/drivers/bus/mvebu-mbus.c b/drivers/bus/mvebu-mbus.c index 70db4d5638a6..5b2a11a88951 100644 --- a/drivers/bus/mvebu-mbus.c +++ b/drivers/bus/mvebu-mbus.c @@ -1229,7 +1229,7 @@ mbus_parse_ranges(struct device_node *node, tuple_len = (*cell_count) * sizeof(__be32); if (ranges_len % tuple_len) { - pr_warn("malformed ranges entry '%s'\n", node->name); + pr_warn("malformed ranges entry '%pOFn'\n", node); return -EINVAL; } return 0;