* [PATCH] vt: modify a constant prefix that looks like a ReST target
@ 2026-11-03 20:39 Randy Dunlap
2026-11-03 20:42 ` sashiko-bot
0 siblings, 1 reply; 2+ messages in thread
From: Randy Dunlap @ 2026-11-03 20:39 UTC (permalink / raw)
To: linux-kernel
Cc: Randy Dunlap, Greg Kroah-Hartman, Jiri Slaby, linux-serial,
Thomas Zimmermann, Helge Deller, Jonathan Corbet, Shuah Khan,
linux-doc
Use CUR_* (could also be something like CUR_x) instead of just "CUR_"
because the ending '_' indicates a documentation target name, so
unconfuse the name.
Prevents these warnings:
Documentation/driver-api/tty/console:36: drivers/tty/vt/vt.c:275: ERROR: Unknown target name: "cur". [docutils]
Documentation/driver-api/tty/console:36: drivers/tty/vt/vt.c:317: ERROR: Unknown target name: "cur". [docutils]
Documentation/driver-api/tty/console:36: drivers/tty/vt/vt.c:353: ERROR: Unknown target name: "cur". [docutils]
Fixes: 1438d00569c4 ("vt: Add cursor-size helpers")
Signed-off-by: Randy Dunlap <rdunlap@infradead.org>
---
Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Cc: Jiri Slaby <jirislaby@kernel.org>
Cc: linux-kernel@vger.kernel.org
Cc: linux-serial@vger.kernel.org
Cc: Thomas Zimmermann <tzimmermann@suse.de>
Cc: Helge Deller <deller@gmx.de>
Cc: Jonathan Corbet <corbet@lwn.net>
Cc: Shuah Khan <skhan@linuxfoundation.org>
Cc: linux-doc@vger.kernel.org
drivers/tty/vt/vt.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
--- linux-next-20261102.orig/drivers/tty/vt/vt.c
+++ linux-next-20261102/drivers/tty/vt/vt.c
@@ -273,7 +273,7 @@ EXPORT_SYMBOL_GPL(vc_font_size);
* vc_cursor_valid_size - Computes a valid cursor size from the given value
* @cursor_size: The size constant of cursor pattern
*
- * The argument given in @cursor_size is one of the CUR_ constants, as stored
+ * The argument given in @cursor_size is one of the CUR_* constants, as stored
* in struct @vc_data.vc_cursor_type. For unknown values, the helper draws the
* default cursor or an underline dash.
*
@@ -317,7 +317,7 @@ EXPORT_SYMBOL_GPL(vc_cursor_valid_size);
*
* The parameter @cell_height is the height of the character cell as
* displayed by the console. The argument given in @cursor_size is one
- * of the CUR_ constants. See vc_cursor_valid_size() for how to get a
+ * of the CUR_* constants. See vc_cursor_valid_size() for how to get a
* valid cursor-size constant.
*
* Returns:
@@ -353,7 +353,7 @@ EXPORT_SYMBOL_GPL(vc_cursor_start);
*
* The parameter @cell_height is the height of the character cell as
* displayed by the console. The argument given in @cursor_size is one
- * of the CUR_ constants. See vc_cursor_valid_size() for how to get a
+ * of the CUR_* constants. See vc_cursor_valid_size() for how to get a
* valid cursor-size constant.
*
* Returns:
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [PATCH] vt: modify a constant prefix that looks like a ReST target
2026-11-03 20:39 [PATCH] vt: modify a constant prefix that looks like a ReST target Randy Dunlap
@ 2026-11-03 20:42 ` sashiko-bot
0 siblings, 0 replies; 2+ messages in thread
From: sashiko-bot @ 2026-11-03 20:42 UTC (permalink / raw)
To: Randy Dunlap; +Cc: linux-serial
> Use CUR_* (could also be something like CUR_x) instead of just "CUR_"
> because the ending '_' indicates a documentation target name, so
> unconfuse the name.
>
> Prevents these warnings:
>
> Documentation/driver-api/tty/console:36: drivers/tty/vt/vt.c:275: ERROR: Unknown target name: "cur". [docutils]
> Documentation/driver-api/tty/console:36: drivers/tty/vt/vt.c:317: ERROR: Unknown target name: "cur". [docutils]
> Documentation/driver-api/tty/console:36: drivers/tty/vt/vt.c:353: ERROR: Unknown target name: "cur". [docutils]
>
> Fixes: 1438d00569c4 ("vt: Add cursor-size helpers")
> Signed-off-by: Randy Dunlap <rdunlap@infradead.org>
Sashiko has reviewed this patch and found no issues.
--
Sashiko AI review · https://sashiko.dev/#/patchset/20261103203929.2916563-1-rdunlap@infradead.org?part=1
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2026-11-03 20:42 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-11-03 20:39 [PATCH] vt: modify a constant prefix that looks like a ReST target Randy Dunlap
2026-11-03 20:42 ` sashiko-bot
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox