Re: [PATCH v2] printk: fix kernel-doc name for nbcon_write_context_is_braille

From: John Ogness

Date: Tue Oct 13 2026 - 15:11:05 EST


On 2026-10-13, Muhammad Mahdi Amirpour <ampr.mhd@xxxxxxxxx> wrote:
> Use the function name in the kerneldoc description.
>
> Fixes: c83e3d291243 ("braille: nbcon: Allow to use a serial console with NBCON API as Braille console")
> Signed-off-by: Muhammad Mahdi Amirpour <ampr.mhd@xxxxxxxxx>
> ---
> kernel/printk/nbcon.c | 3 ++-
> 1 file changed, 2 insertions(+), 1 deletion(-)
>
> diff --git a/kernel/printk/nbcon.c b/kernel/printk/nbcon.c
> index fb1b37741..5f8afaca8 100644
> --- a/kernel/printk/nbcon.c
> +++ b/kernel/printk/nbcon.c
> @@ -2005,7 +2005,8 @@ void nbcon_kdb_release(struct nbcon_write_context *wctxt)
> }
>
> /**
> - * nbcon_is_braille - Checks whether the nbcon write context is using Braille console
> + * nbcon_write_context_is_braille - Checks whether the nbcon write context
> + * is using Braille console

Generally we use tabs instead of spaces, but perhaps Petr can fix it up
on commit or maybe he does not care. Either way:

Reviewed-by: John Ogness <john.ogness@xxxxxxxxxxxxx>