Linux Serial subsystem development
 help / color / mirror / Atom feed
From: Jiri Slaby <jirislaby@kernel.org>
To: TAKANO Mitsuhiro <takano32@gmail.com>,
	Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Cc: linux-serial@vger.kernel.org, linux-kernel@vger.kernel.org,
	Randy Dunlap <rdunlap@infradead.org>
Subject: Re: [PATCH] vt: Escape the CUR_ prefix in the cursor kernel-doc
Date: Thu, 26 Nov 2026 07:57:30 +0100	[thread overview]
Message-ID: <32321472-2593-4a5c-a347-952188c05333@kernel.org> (raw)
In-Reply-To: <20261125182903.2396749-1-takano32@gmail.com>

On 25. 11. 26, 19:29, TAKANO Mitsuhiro wrote:
> A trailing underscore is how reST writes a link to a target, so `CUR_`
> in the prose is read as a reference to a target named "cur" and the
> build fails for the three cursor helpers:
> 
>    drivers/tty/vt/vt.c:276: ERROR: Unknown target name: "cur"

I believe fixed by Randy at:
https://lore.kernel.org/all/20261104182258.3226665-1-rdunlap@infradead.org/

Not applied yet, though.

> The same line appears in vc_cursor_start() and vc_cursor_end().  Wrap
> the prefix in double backticks, which is how the rest of the kernel
> marks a literal, and all three render without an error.
> 
> Verification: before the change, each of
> 
>    $ ./scripts/kernel-doc -rst -function vc_cursor_valid_size \
>          drivers/tty/vt/vt.c > x.rst
>    $ rst2pseudoxml x.rst
> 
> reports "Unknown target name: \"cur\"" once, and vc_cursor_start and
> vc_cursor_end do the same; after it, none of the three reports anything.
> kernel-doc -none on the file is silent both ways.
thanks,
-- 
js
suse labs

  parent reply	other threads:[~2026-11-26  6:57 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-11-25 18:29 [PATCH] vt: Escape the CUR_ prefix in the cursor kernel-doc TAKANO Mitsuhiro
2026-11-25 18:31 ` sashiko-bot
2026-11-26  6:57 ` Jiri Slaby [this message]
2026-11-26  8:46   ` TAKANO Mitsuhiro

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=32321472-2593-4a5c-a347-952188c05333@kernel.org \
    --to=jirislaby@kernel.org \
    --cc=gregkh@linuxfoundation.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-serial@vger.kernel.org \
    --cc=rdunlap@infradead.org \
    --cc=takano32@gmail.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