From: David Lechner <dlechner@baylibre.com>
To: Lukasz Majewski <lukma@denx.de>, Tom Rini <trini@konsulko.com>
Cc: Julien Stephan <jstephan@baylibre.com>,
u-boot@lists.denx.de, David Lechner <dlechner@baylibre.com>
Subject: [PATCH 1/2] clk: clk-uclass: fix format specifier for ofnode name
Date: Thu, 08 Jan 2026 12:05:54 -0600 [thread overview]
Message-ID: <20260108-clk-uclass-better-debug-v1-1-265900a42fe5@baylibre.com> (raw)
In-Reply-To: <20260108-clk-uclass-better-debug-v1-0-265900a42fe5@baylibre.com>
Change the format specifier from %p to %s when printing the ofnode name
so that the actual name is printed instead of the pointer address.
Signed-off-by: David Lechner <dlechner@baylibre.com>
---
drivers/clk/clk-uclass.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/clk/clk-uclass.c b/drivers/clk/clk-uclass.c
index 0584429bed6..0e56d207b0e 100644
--- a/drivers/clk/clk-uclass.c
+++ b/drivers/clk/clk-uclass.c
@@ -410,7 +410,7 @@ int clk_get_by_name_nodev(ofnode node, const char *name, struct clk *clk)
{
int index = 0;
- debug("%s(node=%p, name=%s, clk=%p)\n", __func__,
+ debug("%s(node=%s, name=%s, clk=%p)\n", __func__,
ofnode_get_name(node), name, clk);
clk->dev = NULL;
--
2.43.0
next prev parent reply other threads:[~2026-01-08 20:24 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-01-08 18:05 [PATCH 0/2] clk: clk-uclass: debug message improvements David Lechner
2026-01-08 18:05 ` David Lechner [this message]
2026-01-08 18:05 ` [PATCH 2/2] clk: clk-uclass: used dev name in debug message David Lechner
2026-01-21 20:48 ` [PATCH 0/2] clk: clk-uclass: debug message improvements Tom Rini
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20260108-clk-uclass-better-debug-v1-1-265900a42fe5@baylibre.com \
--to=dlechner@baylibre.com \
--cc=jstephan@baylibre.com \
--cc=lukma@denx.de \
--cc=trini@konsulko.com \
--cc=u-boot@lists.denx.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox