Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

docs/driver-api/miscellaneous: Remove kernel-doc of serial_core.c

Since merge of tty-6.0-rc1, "make htmldocs" with Sphinx >=3.1 emits
a bunch of warnings indicating duplicate kernel-doc comments from
drivers/tty/serial/serial_core.c.

This is due to the kernel-doc directive for serial_core.c in
serial/drivers.rst added in the merge. It conflicts with an existing
kernel-doc directive in miscellaneous.rst.

Remove the latter directive and resolve the duplicates.

Signed-off-by: Akira Yokosawa <akiyks@gmail.com>
Fixes: 607ca0f742b7 ("Merge tag 'tty-6.0-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/tty")
Cc: stable@vger.kernel.org # 6.0
Cc: Jiri Slaby <jslaby@suse.cz>
Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Reviewed-by: Jiri Slaby <jirislaby@kernel.org>
Link: https://lore.kernel.org/r/4e54c76a-138a-07e0-985a-dd83cb622208@gmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>

authored by

Akira Yokosawa and committed by
Greg Kroah-Hartman
3ec17cb3 1980860e

+2 -3
+2 -3
Documentation/driver-api/miscellaneous.rst
··· 16 16 16x50 UART Driver 17 17 ================= 18 18 19 - .. kernel-doc:: drivers/tty/serial/serial_core.c 20 - :export: 21 - 22 19 .. kernel-doc:: drivers/tty/serial/8250/8250_core.c 23 20 :export: 21 + 22 + See serial/driver.rst for related APIs. 24 23 25 24 Pulse-Width Modulation (PWM) 26 25 ============================