linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 1/2] clkdev: improve ID length error message
@ 2025-11-14  9:09 Alexander Stein
  2025-11-14  9:09 ` [PATCH 2/2] clkdev: increase MAX_DEV_ID to 64 Alexander Stein
  0 siblings, 1 reply; 3+ messages in thread
From: Alexander Stein @ 2025-11-14  9:09 UTC (permalink / raw)
  To: Russell King
  Cc: Matthias Schiffer, linux-arm-kernel, linux-kernel,
	Alexander Stein

From: Matthias Schiffer <matthias.schiffer@tq-group.com>

"is greater than X" is very unclear if you're not familiar with the
code. Change the wording to "is longer than X bytes". In addition, add a
space between device and connection ID to make it easier to determine
which part of the ID is responsible for the length.

Signed-off-by: Matthias Schiffer <matthias.schiffer@tq-group.com>
Signed-off-by: Alexander Stein <alexander.stein@ew.tq-group.com>
---
 drivers/clk/clkdev.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/clk/clkdev.c b/drivers/clk/clkdev.c
index e0bede6350e11..f46324622cca0 100644
--- a/drivers/clk/clkdev.c
+++ b/drivers/clk/clkdev.c
@@ -201,7 +201,7 @@ vclkdev_alloc(struct clk_hw *hw, const char *con_id, const char *dev_fmt,
 	else
 		vaf.fmt = "null-device";
 	vaf.va = &ap_copy;
-	pr_err("%pV:%s: %s ID is greater than %zu\n",
+	pr_err("%pV: %s: %s ID is longer than %zu bytes\n",
 	       &vaf, con_id, failure, max_size);
 	va_end(ap_copy);
 
-- 
2.43.0



^ permalink raw reply related	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2025-11-14  9:14 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-11-14  9:09 [PATCH 1/2] clkdev: improve ID length error message Alexander Stein
2025-11-14  9:09 ` [PATCH 2/2] clkdev: increase MAX_DEV_ID to 64 Alexander Stein
2025-11-14  9:14   ` Russell King (Oracle)

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).