Received: by 2002:ac0:a5a6:0:0:0:0:0 with SMTP id m35-v6csp6553619imm; Mon, 27 Aug 2018 18:56:05 -0700 (PDT) X-Google-Smtp-Source: ANB0VdbuoEPqeBNl60kla9RBtYnKsTnGuCVLxNv19VEjiG27l9zq9oEV1PpsG/aSj89OiPUlBg8v X-Received: by 2002:a63:cf15:: with SMTP id j21-v6mr14088889pgg.195.1535421365236; Mon, 27 Aug 2018 18:56:05 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1535421365; cv=none; d=google.com; s=arc-20160816; b=jQu91G4VRaVFkftWMSRvsRuqnKb9Jm6+hPreWA7P7a9vBewhVJxu4fwzIJa/n8pCAA lpdCUGxF1Q6Dh/NVhZHDCRqXSgCQAob7hmr3OdZvBnG+GFNpWQ8ru6W+OkvDB7a/I5XZ zEpWhWq4wapuHjVZ+CWam/9ksjLK+2miI18oiCDxr3X/dfnOQEf9b1CTl4fR9Q+Vo4b4 HqLYNt5lzvEKWoamCNsmM9Qk4udhMg2xjZeiPqoK0RX87N+F25He4iOdeOD5TLJdINW1 PBFQgZCSjNSGgSlZjKwgtbqxAz6mTdxx8Shz8JgQbDrav2Rc1Hivuo4RX8wjVqs9NEqg IltQ== 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=hErohiAO5ZceD9Qr7QOcf9gK+QVsa4hua5KEImGBF6Y=; b=mJ3lxveMVhnwGlHdTmC+TZkoHbfgrv/PvkTPdAJ6Azt3EaFvIdDVuuutnwno451WQc eFrKtmRgO8YMhjHyrQ00H0pQqDFg9yggNUZ8gbNbqMxtk9UOOSMWT7tY+SR8R5jO9sCV fdB5ohlH5q3dLdpEEGwSjzcrYB5R31BKZL6f8euZyN8fi6gWQXOkJEgTQ4nYZ2JxPu7q 8h5xvicY/itlOJ1kXsdXWdqrGgzaMZS/A58Ji6d4X0tAXFNGIK+lu4mXREzLJyvowT1h h+fWuLDtiHeypYf7vk73DRigW1uhQVnimeLCNYTjD3BBTRS9onb4u2b+/CN7LBlUp2zy ie3Q== 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 200-v6si943813pfv.137.2018.08.27.18.55.50; Mon, 27 Aug 2018 18:56:05 -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 S1727702AbeH1Fnd (ORCPT + 99 others); Tue, 28 Aug 2018 01:43:33 -0400 Received: from mail-oi0-f68.google.com ([209.85.218.68]:45858 "EHLO mail-oi0-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727333AbeH1FmS (ORCPT ); Tue, 28 Aug 2018 01:42:18 -0400 Received: by mail-oi0-f68.google.com with SMTP id t68-v6so1692247oie.12 for ; Mon, 27 Aug 2018 18:53:04 -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=hErohiAO5ZceD9Qr7QOcf9gK+QVsa4hua5KEImGBF6Y=; b=iekDPeJDVyEPIakeg86FRy2Yb7rrT/4klEeL9HR9KeuUAE99+GXlK4J2IDb7za/l2Q if8hu5t5aT5I4wrfet5WlMGsUPexd0CdH//sIxDjOwc0cVyjZWIC5oyCngE7xRTFdKNc xywyS4G9rkvuq+iuIMJby5oeCxMW49oBIDETq1GM3oxBpXf+4M4sgauz1MokopFnzXyO BGbOYJFT8QvEEH+I5tB1hDfy+eBNVQeMMz5szIkAvpLeRMVeprhUvYqjIBrZAs7rIXBQ RAJygr5w8gz0+LPMY1QFgtVhYf6odxClrvRySOXJ1oBhhwI1rCkxIO11VzTYVlI0qw/S eOXw== X-Gm-Message-State: APzg51ACmwCORWLukl/uNQVjNd5ATpiTyAeywk2aaGajhcSI7WLF9LXV uGykGo5Wb4lKbXCcumyYJCm36i0= X-Received: by 2002:a54:448b:: with SMTP id v11-v6mr1168018oiv.208.1535421183532; Mon, 27 Aug 2018 18:53:03 -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.02 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 27 Aug 2018 18:53:02 -0700 (PDT) From: Rob Herring To: linux-kernel@vger.kernel.org Cc: Stuart Yoder , Laurentiu Tudor Subject: [PATCH] bus: fsl-mc: Convert to using %pOFn instead of device_node.name Date: Mon, 27 Aug 2018 20:52:11 -0500 Message-Id: <20180828015252.28511-10-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: Stuart Yoder Cc: Laurentiu Tudor Signed-off-by: Rob Herring --- drivers/bus/fsl-mc/fsl-mc-bus.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/bus/fsl-mc/fsl-mc-bus.c b/drivers/bus/fsl-mc/fsl-mc-bus.c index 5d8266c6571f..85a567c987cc 100644 --- a/drivers/bus/fsl-mc/fsl-mc-bus.c +++ b/drivers/bus/fsl-mc/fsl-mc-bus.c @@ -693,8 +693,8 @@ static int parse_mc_ranges(struct device *dev, *ranges_start = of_get_property(mc_node, "ranges", &ranges_len); if (!(*ranges_start) || !ranges_len) { dev_warn(dev, - "missing or empty ranges property for device tree node '%s'\n", - mc_node->name); + "missing or empty ranges property for device tree node '%pOFn'\n", + mc_node); return 0; } @@ -717,7 +717,7 @@ static int parse_mc_ranges(struct device *dev, tuple_len = range_tuple_cell_count * sizeof(__be32); if (ranges_len % tuple_len != 0) { - dev_err(dev, "malformed ranges property '%s'\n", mc_node->name); + dev_err(dev, "malformed ranges property '%pOFn'\n", mc_node); return -EINVAL; } -- 2.17.1