[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <d2e95cc3-2575-7c54-186e-aa421495862e@ti.com>
Date: Wed, 23 Jun 2021 10:51:34 -0500
From: Suman Anna <s-anna@...com>
To: Jan Kiszka <jan.kiszka@...mens.com>,
Santosh Shilimkar <ssantosh@...nel.org>,
Linux Kernel Mailing List <linux-kernel@...r.kernel.org>,
linux-arm-kernel <linux-arm-kernel@...ts.infradead.org>,
Grzegorz Jaszczyk <grzegorz.jaszczyk@...aro.org>,
Kishon Vijay Abraham <kishon@...com>
Subject: Re: [PATCH] soc: ti: pruss: fix referenced node in error message
On 6/21/21 1:08 PM, Jan Kiszka wrote:
> From: Jan Kiszka <jan.kiszka@...mens.com>
>
> So far, "(null)" is reported for the node that is missing clocks.
>
> Signed-off-by: Jan Kiszka <jan.kiszka@...mens.com>
Acked-by: Suman Anna <s-anna@...com>
> ---
> 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;
> }
>
>
Powered by blists - more mailing lists