unicode: mkutf8data: fix comment typo
PATCH 1/1 unicode: mkutf8data: fix comment typo
The file contains a spelling error in a source comment (succes).
Typos in comments reduce readability and make text searches less reliable for developers and maintainers.
Replace 'succes' with 'success' in the affected comment. This is a comment-only cleanup and does not change behavior.
--- fs/unicode/mkutf8data.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
fs/unicode/mkutf8data.c +1 -1
@@ -3030,7 +3030,7 @@ int utf8cursor(struct utf8cursor *u8c, struct tree *tree, const char *s)/* * Get one byte from the normalized form of the string described by u8c. * -* Returns the byte cast to an unsigned char on succes, and -1 on failure. +* Returns the byte cast to an unsigned char on success, and -1 on failure. * * The cursor keeps track of the location in the string in u8c->s. * When a character is decomposed, the current location is stored in
Signature · 1 line
2.47.3
Re: [External] : [PATCH] unicode: mkutf8data: fix comment typo
Quoted 20 lines · Joseph Salisbury
The file contains a spelling error in a source comment (succes).
Typos in comments reduce readability and make text searches less reliable for developers and maintainers.
Replace 'succes' with 'success' in the affected comment. This is a comment-only cleanup and does not change behavior.
Fixes 955405d1174e ("unicode: introduce UTF-8 character database")Signed-off-by Joseph Salisbury <[email protected]>--- fs/unicode/mkutf8data.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)fs/unicode/mkutf8data.c +0
-0
fs/unicode/mkutf8data.c int utf8cursor(struct utf8cursor *u8c, struct tree *tree, const char *s) · line 3036
Quoted 8 lines
fs/unicode/mkutf8data.c +1
-1@@ -3030,7 +3030,7 @@ int utf8cursor(struct utf8cursor *u8c, struct tree *tree, const char *s)/* * Get one byte from the normalized form of the string described by u8c. * -* Returns the byte cast to an unsigned char on succes, and -1 on failure. +* Returns the byte cast to an unsigned char on success, and -1 on failure. * * The cursor keeps track of the location in the string in u8c->s. * When a character is decomposed, the current location is stored in
I inadvertently added Fixes: and Cc: stable tags. If possible, please remove them as they are not appropriate for fixes to misspellings in code comments. If it's not possible to remove them, I can send a v2.