lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20251114090934.1471533-1-alexander.stein@ew.tq-group.com>
Date: Fri, 14 Nov 2025 10:09:32 +0100
From: Alexander Stein <alexander.stein@...tq-group.com>
To: Russell King <linux@...linux.org.uk>
Cc: Matthias Schiffer <matthias.schiffer@...group.com>,
	linux-arm-kernel@...ts.infradead.org,
	linux-kernel@...r.kernel.org,
	Alexander Stein <alexander.stein@...tq-group.com>
Subject: [PATCH 1/2] clkdev: improve ID length error message

From: Matthias Schiffer <matthias.schiffer@...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@...group.com>
Signed-off-by: Alexander Stein <alexander.stein@...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


Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ