[PATCH 3/3] HACK: drop COPY_NAME_IDENTIFIER string length check
Sascha Hauer
s.hauer at pengutronix.de
Tue Jun 17 02:01:42 PDT 2025
Clock names are only allowed to be 16 characters long. Drop the
assertion to check the string length because am62l has several clocks
with longer names.
Change-Id: I1356983e8314d9e9db11bcb7478cab633fa5802a
Signed-off-by: Sascha Hauer <s.hauer at pengutronix.de>
---
drivers/scmi-msg/common.h | 1 -
1 file changed, 1 deletion(-)
diff --git a/drivers/scmi-msg/common.h b/drivers/scmi-msg/common.h
index 6b186d07d..65f0471fb 100644
--- a/drivers/scmi-msg/common.h
+++ b/drivers/scmi-msg/common.h
@@ -28,7 +28,6 @@
*/
#define COPY_NAME_IDENTIFIER(_dst_array, _name) \
do { \
- assert(strlen(_name) < sizeof(_dst_array)); \
strlcpy((_dst_array), (_name), sizeof(_dst_array)); \
} while (0)
--
2.39.5
More information about the barebox
mailing list