hc
2024-05-10 cde9070d9970eef1f7ec2360586c802a16230ad8
kernel/drivers/gpu/arm/bifrost/tests/include/kutf/kutf_utils.h
....@@ -1,7 +1,7 @@
11 /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
22 /*
33 *
4
- * (C) COPYRIGHT 2014, 2017, 2020-2021 ARM Limited. All rights reserved.
4
+ * (C) COPYRIGHT 2014, 2017, 2020-2022 ARM Limited. All rights reserved.
55 *
66 * This program is free software and is provided to you under the terms of the
77 * GNU General Public License version 2 as published by the Free Software
....@@ -33,8 +33,8 @@
3333 #include <kutf/kutf_mem.h>
3434
3535 /**
36
- * Maximum size of the message strings within kernel UTF, messages longer then
37
- * this will be truncated.
36
+ * KUTF_MAX_DSPRINTF_LEN - Maximum size of the message strings within
37
+ * kernel UTF, messages longer then this will be truncated.
3838 */
3939 #define KUTF_MAX_DSPRINTF_LEN 1024
4040
....@@ -54,6 +54,7 @@
5454 * Return: Returns pointer to allocated string, or NULL on error.
5555 */
5656 const char *kutf_dsprintf(struct kutf_mempool *pool,
57
- const char *fmt, ...);
57
+ const char *fmt, ...) __printf(2, 3);
58
+
5859
5960 #endif /* _KERNEL_UTF_UTILS_H_ */