Documentation: rs485: Pull uart_get_rs485_mode() from serial_core.c
Subsystems (2)
PATCH 1/1 Documentation: rs485: Pull uart_get_rs485_mode() from serial_core.c
serial-rs485.rst asks include/uapi/linux/serial.h for both struct serial_rs485 and uart_get_rs485_mode(). The function and its kernel-doc comment live in drivers/tty/serial/serial_core.c, so the directive has never rendered it and the section shows only the structure.
Add a second directive for serial_core.c.
--- Documentation/driver-api/serial/serial-rs485.rst | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-)
Documentation/driver-api/serial/serial-rs485.rst +4 -1
@@ -50,7 +50,10 @@ RS485 Serial Communications matching to the current configuration. .. kernel-doc:: include/uapi/linux/serial.h - :identifiers: serial_rs485 uart_get_rs485_mode + :identifiers: serial_rs485 + +.. kernel-doc:: drivers/tty/serial/serial_core.c + :identifiers: uart_get_rs485_mode 4. Usage from user-level ========================
Signature · 1 line
2.53.0
[email protected]
AI reviewSashiko has reviewed this patch and found no issues. It looks great!
Quoted 10 lines
serial-rs485.rstasksinclude/uapi/linux/serial.hfor both structserial_rs485anduart_get_rs485_mode(). The function and its kernel-doc comment live indrivers/tty/serial/serial_core.c, so the directive has never rendered it and the section shows only the structure.Add a second directive for
serial_core.c.Fixes 0f4648a1a6d3 ("Documentation: rs485: Mention uart_get_rs485_mode()")Assisted-by LLMSigned-off-by Karl Mehltretter <[email protected]>
Sashiko has reviewed this patch and found no issues. It looks great!
Signature · 1 line
Sashiko AI review · https://sashiko.dev/#/patchset/[email protected]?part=1
Quoted 10 lines · Karl Mehltretter
serial-rs485.rstasksinclude/uapi/linux/serial.hfor both structserial_rs485anduart_get_rs485_mode(). The function and its kernel-doc comment live indrivers/tty/serial/serial_core.c, so the directive has never rendered it and the section shows only the structure.Add a second directive for
serial_core.c.Fixes 0f4648a1a6d3 ("Documentation: rs485: Mention uart_get_rs485_mode()")Assisted-by LLMSigned-off-by Karl Mehltretter <[email protected]>
thanks.
Quoted 20 lines
--- Documentation/driver-api/serial/serial-rs485.rst | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-)Documentation/driver-api/serial/serial-rs485.rst +4
-1@@ -50,7 +50,10 @@ RS485 Serial Communications matching to the current configuration. .. kernel-doc:: include/uapi/linux/serial.h - :identifiers: serial_rs485 uart_get_rs485_mode + :identifiers: serial_rs485 + +.. kernel-doc:: drivers/tty/serial/serial_core.c + :identifiers: uart_get_rs485_mode 4. Usage from user-level ========================
Signature · 1 line
~Randy
Quoted 19 lines · Karl Mehltretter
serial-rs485.rstasksinclude/uapi/linux/serial.hfor both structserial_rs485anduart_get_rs485_mode(). The function and its kernel-doc comment live indrivers/tty/serial/serial_core.c, so the directive has never rendered it and the section shows only the structure.Add a second directive for
serial_core.c.Fixes 0f4648a1a6d3 ("Documentation: rs485: Mention uart_get_rs485_mode()")Assisted-by LLMSigned-off-by Karl Mehltretter <[email protected]>--- Documentation/driver-api/serial/serial-rs485.rst | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-)Documentation/driver-api/serial/serial-rs485.rst +0
-0
Documentation/driver-api/serial/serial-rs485.rst RS485 Serial Communications · line 56
Quoted 8 lines
Documentation/driver-api/serial/serial-rs485.rst +4
-1@@ -50,7 +50,10 @@ RS485 Serial Communications matching to the current configuration. .. kernel-doc:: include/uapi/linux/serial.h - :identifiers: serial_rs485 uart_get_rs485_mode + :identifiers: serial_rs485 + +.. kernel-doc:: drivers/tty/serial/serial_core.c + :identifiers: uart_get_rs485_mode
Applied, thanks.
jon