[PATCH RFC 1/6] lib: charset: Fix utf8_to_utf32_stream() return value doc string

Janne Grunau via B4 Relay devnull+j.jannau.net at kernel.org
Wed Jan 17 23:24:27 CET 2024


From: Janne Grunau <j at jannau.net>

The comment appears to be copied from utf8_to_cp437_stream() but was not
updated.

Signed-off-by: Janne Grunau <j at jannau.net>
---
 include/charset.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/include/charset.h b/include/charset.h
index 44034c71d3..714382e1c1 100644
--- a/include/charset.h
+++ b/include/charset.h
@@ -328,7 +328,7 @@ int utf8_to_cp437_stream(u8 c, char *buffer);
  *
  * @c:		next UTF-8 character to convert
  * @buffer:	buffer, at least 5 characters
- * Return:	next codepage 437 character or 0
+ * Return:	next Unicode code point or 0
  */
 int utf8_to_utf32_stream(u8 c, char *buffer);
 

-- 
2.43.0



More information about the U-Boot mailing list