[PATCH RFC 1/6] lib: charset: Fix utf8_to_utf32_stream() return value doc string
Andre Przywara
andre.przywara at arm.com
Thu Jan 18 14:58:04 CET 2024
On Wed, 17 Jan 2024 23:24:27 +0100
Janne Grunau via B4 Relay <devnull+j.jannau.net at kernel.org> wrote:
> 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>
Reviewed-by: Andre Przywara <andre.przywara at arm.com>
Cheers,
Andre
> ---
> 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);
>
>
More information about the U-Boot
mailing list