From: Randy Dunlap <rdunlap@infradead.org>
To: Nicolas Pitre <npitre@baylibre.com>
Cc: linux-kernel@vger.kernel.org,
Greg Kroah-Hartman <gregkh@linuxfoundation.org>,
Jiri Slaby <jirislaby@kernel.org>,
linux-serial@vger.kernel.org
Subject: Re: [PATCH v2] vt: fix kernel-doc warnings in ucs_get_fallback()
Date: Mon, 9 Jun 2025 21:28:06 -0700 [thread overview]
Message-ID: <09848df8-f6f3-4e48-a7a7-3a65868ce8a2@infradead.org> (raw)
In-Reply-To: <6rr665sp-3q45-66q8-snso-5071q34q71pr@onlyvoer.pbz>
On 6/9/25 7:19 PM, Nicolas Pitre wrote:
> On Mon, 9 Jun 2025, Randy Dunlap wrote:
>
>> 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: fe26933cf1e1 ("vt: add ucs_get_fallback()")
>> Signed-off-by: Randy Dunlap <rdunlap@infradead.org>
>> Cc: Nicolas Pitre <npitre@baylibre.com>
>> Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
>> Cc: Jiri Slaby <jirislaby@kernel.org>
>> Cc: linux-serial@vger.kernel.org
>> ---
>> v2: add Jiri and linux-serial. Mea culpa.
>>
>> drivers/tty/vt/ucs.c | 2 +-
>> 1 file changed, 1 insertion(+), 1 deletion(-)
>>
>> --- lnx-616-rc1.orig/drivers/tty/vt/ucs.c
>> +++ lnx-616-rc1/drivers/tty/vt/ucs.c
>> @@ -206,7 +206,7 @@ static int ucs_page_entry_cmp(const void
>>
>> /**
>> * ucs_get_fallback() - Get a substitution for the provided Unicode character
>> - * @base: Base Unicode code point (UCS-4)
>> + * @cp: Base Unicode code point (UCS-4)
>
> Please delete the "Base" word from the definition as well.
> Then you can add Reviewed-by: Nicolas Pitre <npitre@baylibre.com>.
Sure, will do.
Thanks.
>
>> *
>> * Get a simpler fallback character for the provided Unicode character.
>> * This is used for terminal display when corresponding glyph is unavailable.
>>
--
~Randy
prev parent reply other threads:[~2025-06-10 4:28 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-06-10 0:02 [PATCH v2] vt: fix kernel-doc warnings in ucs_get_fallback() Randy Dunlap
2025-06-10 2:19 ` Nicolas Pitre
2025-06-10 4:28 ` Randy Dunlap [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=09848df8-f6f3-4e48-a7a7-3a65868ce8a2@infradead.org \
--to=rdunlap@infradead.org \
--cc=gregkh@linuxfoundation.org \
--cc=jirislaby@kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-serial@vger.kernel.org \
--cc=npitre@baylibre.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).