Skip to content

Commit 747b524

Browse files
rddunlapgregkh
authored andcommitted
vt: fix kernel-doc warnings in ucs_get_fallback()
Use the correct function parameter name in ucs_get_fallback() to prevent kernel-doc warnings: Warning: drivers/tty/vt/ucs.c:218 function parameter 'cp' not described in 'ucs_get_fallback' Warning: drivers/tty/vt/ucs.c:218 Excess function parameter 'base' description in 'ucs_get_fallback' Fixes: fe26933 ("vt: add ucs_get_fallback()") Signed-off-by: Randy Dunlap <[email protected]> Cc: Nicolas Pitre <[email protected]> Cc: Greg Kroah-Hartman <[email protected]> Cc: Jiri Slaby <[email protected]> Cc: [email protected] Reviewed-by: Nicolas Pitre <[email protected]>. Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Greg Kroah-Hartman <[email protected]>
1 parent ff78538 commit 747b524

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/tty/vt/ucs.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -206,7 +206,7 @@ static int ucs_page_entry_cmp(const void *key, const void *element)
206206

207207
/**
208208
* ucs_get_fallback() - Get a substitution for the provided Unicode character
209-
* @base: Base Unicode code point (UCS-4)
209+
* @cp: Unicode code point (UCS-4)
210210
*
211211
* Get a simpler fallback character for the provided Unicode character.
212212
* This is used for terminal display when corresponding glyph is unavailable.

0 commit comments

Comments
 (0)