Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp4020302pxj; Mon, 21 Jun 2021 11:36:33 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzjnKd9M7ZJ9vCPFQmvsY0yHECX57Nxg7c/YmSgv3VF0joQJdXYzvkQH/93KEC5r1HGswuu X-Received: by 2002:a92:690d:: with SMTP id e13mr19064418ilc.257.1624300593604; Mon, 21 Jun 2021 11:36:33 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1624300593; cv=none; d=google.com; s=arc-20160816; b=twkEHMKL6ZN6zdDH41wenG98S/GmVUh4nMykUFjY2riHozFlHftYf/G7UYoEwzG814 9qqORil+r3X4VCxY+yMrH5KukbS9WIzr2w94OYX4tkpxUzItaavZAa1/nl9HOv7rBEIX RQUVoK7JMXzP9d4pfus1d8NtDLLp5rSzvDNsNFUgqh5jVFakVLLcO9vxBnY8YumHQ0Uw Tlgv+MyfsZngZDKgim9iBuJ/pZm4YmPVmJ6bgsgN+cHa+7NUgIcJg+sdvSiCbFwQTKj2 1kMRUGXV7MZJE3+tXFwr1uVKcz+32jrD3nsjWxG5MmnVHu7ZccKP3/fZ3TB4Ph3RddSm wNBg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:content-language :mime-version:user-agent:date:message-id:to:subject:from; bh=XyB08ciOQK09shCpVsBk9wf7240D1ss5UQrpUUI7yvk=; b=VORl6vgt57ReTTHybX4IW/G4JZ+qYhlowdmRM19fzyuR0w+n/IWkt+DzSRcOGi9uZJ V4S6KylnLdJIvCvWKQ42mMwGgJ1T5+8CU2Wg/Lcb3v9XnWeHL76RWCDuGPlaUv8WG+fb TsVu7ZTc95/gfb9sJv1LF+hjd3XPzCVf5oPvD0bZsPsYx+gERpq0oljA3Gd1akw1p8wR iBdWTTsjskjeyY5H1C47cgHsdk0mq8JW0/7T/7O0tANt6RQhqNXmpCF1iOMtmKR5cMRT 0gLm+qCEwZp1o2fGRCBUZw9c+JXrWZgoPJ9aH3iimLVFKqBUgFoBGMgt5cY68CQ4wTZU yIlg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=siemens.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id w2si19157325iop.49.2021.06.21.11.36.21; Mon, 21 Jun 2021 11:36:33 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=siemens.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231241AbhFUSiC (ORCPT + 99 others); Mon, 21 Jun 2021 14:38:02 -0400 Received: from david.siemens.de ([192.35.17.14]:42896 "EHLO david.siemens.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230380AbhFUSh7 (ORCPT ); Mon, 21 Jun 2021 14:37:59 -0400 X-Greylist: delayed 1624 seconds by postgrey-1.27 at vger.kernel.org; Mon, 21 Jun 2021 14:37:59 EDT Received: from mail2.sbs.de (mail2.sbs.de [192.129.41.66]) by david.siemens.de (8.15.2/8.15.2) with ESMTPS id 15LI8U5T007004 (version=TLSv1.2 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Mon, 21 Jun 2021 20:08:30 +0200 Received: from [167.87.243.122] ([167.87.243.122]) by mail2.sbs.de (8.15.2/8.15.2) with ESMTP id 15LI8TnN008010; Mon, 21 Jun 2021 20:08:29 +0200 From: Jan Kiszka Subject: [PATCH] soc: ti: pruss: fix referenced node in error message To: Santosh Shilimkar , Linux Kernel Mailing List , linux-arm-kernel , Grzegorz Jaszczyk Message-ID: Date: Mon, 21 Jun 2021 20:08:28 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.10.0 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Jan Kiszka So far, "(null)" is reported for the node that is missing clocks. Signed-off-by: Jan Kiszka --- drivers/soc/ti/pruss.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/soc/ti/pruss.c b/drivers/soc/ti/pruss.c index f22ac1edbdd0..afc8aae68035 100644 --- a/drivers/soc/ti/pruss.c +++ b/drivers/soc/ti/pruss.c @@ -129,7 +129,7 @@ static int pruss_clk_init(struct pruss *pruss, struct device_node *cfg_node) clks_np = of_get_child_by_name(cfg_node, "clocks"); if (!clks_np) { - dev_err(dev, "%pOF is missing its 'clocks' node\n", clks_np); + dev_err(dev, "%pOF is missing its 'clocks' node\n", cfg_node); return -ENODEV; } -- 2.26.2