Linux Serial subsystem development
 help / color / mirror / Atom feed
From: sashiko-bot@kernel.org
To: "TAKANO Mitsuhiro" <takano32@gmail.com>
Cc: linux-serial@vger.kernel.org
Subject: Re: [PATCH] vt: Escape the CUR_ prefix in the cursor kernel-doc
Date: Wed, 25 Nov 2026 18:31:53 +0000	[thread overview]
Message-ID: <sashiko-outbox-234000@kernel.org> (raw)
In-Reply-To: <20261125182903.2396749-1-takano32@gmail.com>

> 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"
> 
> 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.
> 
> Signed-off-by: TAKANO Mitsuhiro <takano32@gmail.com>

Sashiko has reviewed this patch and found no issues.

-- 
Sashiko AI review · https://sashiko.dev/#/patchset/20261125182903.2396749-1-takano32@gmail.com?part=1

  reply	other threads:[~2026-11-25 18:31 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 [this message]
2026-11-26  6:57 ` Jiri Slaby
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=sashiko-outbox-234000@kernel.org \
    --to=sashiko-bot@kernel.org \
    --cc=linux-serial@vger.kernel.org \
    --cc=sashiko-reviews@lists.linux.dev \
    --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