[PATCH 1/2] clkdev: improve ID length error message
From: Alexander Stein
Date: Fri Nov 14 2025 - 04:09:50 EST
From: Matthias Schiffer <matthias.schiffer@xxxxxxxxxxxx>
"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@xxxxxxxxxxxx>
Signed-off-by: Alexander Stein <alexander.stein@xxxxxxxxxxxxxxx>
---
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