Received: by 2002:a05:6a10:af89:0:0:0:0 with SMTP id iu9csp3385271pxb; Mon, 17 Jan 2022 19:16:00 -0800 (PST) X-Google-Smtp-Source: ABdhPJyvy+gSNhT0oF0wjw7UzGZu+xH+vzZsRbVQgc8ms/M75u8GCe24Ey6tk1v2Z5ZAq4DkTfCv X-Received: by 2002:a63:4456:: with SMTP id t22mr14635882pgk.52.1642475760195; Mon, 17 Jan 2022 19:16:00 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1642475760; cv=none; d=google.com; s=arc-20160816; b=XhSdOjZ3KqQtplzBmxNTakrQDbmRc5MyeiFWKKSbeXt+7ReFngMiLkqVzDysU/bXRp 2mMBYEDt70gQdHvowCvOxiMsGvaAvnQDaCt7GAq67BHghK7X94jhDQiWxgIF4QxplNn3 cUzbRD7NUDwnnS2z3fXoxX6OaG3G1BaUYcIs+1mdJujuu66AniqyOKLh9KPxtivIAH4R lReNZpdamVyrCYXvF+Lpb3+R75QuSTA1r9PDv6YPiBdT67JxyJ76ZTjk8PT1OmrBzi2Y TVwrOjFvI4nUtnyHiheovB2U7jsQFbIm5JpFo7lhh8bLqbFFOOO+qCfRxOa2DgdA4hKj T23w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=OxUtX3agaceNXHItGtiq/cACnz8wvs05K60FScEo+Fk=; b=CgZByIb5UMgVyBqyrmipt4QuSf5Nw6wn/e2vKlL/ubIuoBLfiQ9+adrZ9Vyn2BYn80 N12QGouRbg/H7lI1L236xIJ9/nwfY4AeP43jvpdXFqoQAgbvgiUNt4q4GVk5dCeytiZz UPvIBWRmcLdMcxqS9YMU3g70NB7GCF5qe8UGZio996d/qNynINl0tvf7c9GMBK/qxQB+ cRFTtB9De0NvZdrxF1tbmG4zpnYUgOqE2ID1qBJ1RJWGdpwR69Hk38Ka5Lex5nPxfwXR 9RCVXJYSv5sbBfvN3RMyQ2Hh2Y3EIbN38wUEVx9Sk7OdhafWGl69rsVix1VunFzqwBNc THDw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=QgFzGaRG; 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=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id f19si14206872pgm.327.2022.01.17.19.15.48; Mon, 17 Jan 2022 19:16:00 -0800 (PST) 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; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=QgFzGaRG; 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=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S245167AbiARCZB (ORCPT + 99 others); Mon, 17 Jan 2022 21:25:01 -0500 Received: from dfw.source.kernel.org ([139.178.84.217]:39790 "EHLO dfw.source.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S245169AbiARCXM (ORCPT ); Mon, 17 Jan 2022 21:23:12 -0500 Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id 163FA60A6B; Tue, 18 Jan 2022 02:23:12 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id C58E6C36AEB; Tue, 18 Jan 2022 02:23:10 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1642472591; bh=f8+DzzjtvvnxDthTcjNQ/23aDxrL03Fv6o1cZ2WdV3Y=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=QgFzGaRGj1u0cmq9l7KGaEZUoQJNeDEoXsAxiUHCarSAtz8ONRE7bDXbKfuF+744h aTiU/Jg4inc9qTc3Ohv923IC58DkCAyZGoowq8ZcIR3kDdDqyVCNMgEuVBhPjU6O/u EL/njOQiiRQ1Xa/J/pcJhDT9UXSVCIM+9JiXihUyhukQEDbdlO3Zy6VLf0h2/f5cSN 9EALAQRDNXl8xf4BxjHx6hsuyVlNd6OyyutCJuI0hJd2S1N+CmsmQ8x8NHrhndeh3r zJuvh76JKQYVDG10yAuDlRba+1Imk/erQh4BqSUPK8L16BVD+kLiB/x2VQGAGaCgXu VLzHohEn9se0w== From: Sasha Levin To: linux-kernel@vger.kernel.org, stable@vger.kernel.org Cc: Jan Kiszka , Suman Anna , Nishanth Menon , Sasha Levin , linux-arm-kernel@lists.infradead.org Subject: [PATCH AUTOSEL 5.16 062/217] soc: ti: pruss: fix referenced node in error message Date: Mon, 17 Jan 2022 21:17:05 -0500 Message-Id: <20220118021940.1942199-62-sashal@kernel.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20220118021940.1942199-1-sashal@kernel.org> References: <20220118021940.1942199-1-sashal@kernel.org> MIME-Version: 1.0 X-stable: review X-Patchwork-Hint: Ignore Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Jan Kiszka [ Upstream commit 8aa35e0bb5eaa42bac415ad0847985daa7b4890c ] So far, "(null)" is reported for the node that is missing clocks. Signed-off-by: Jan Kiszka Acked-by: Suman Anna Signed-off-by: Nishanth Menon Link: https://lore.kernel.org/r/d6e24953-ea89-fd1c-6e16-7a0142118054@siemens.com Signed-off-by: Sasha Levin --- 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 49da387d77494..b36779309e49b 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.34.1