Skip to content

Commit f16182e

Browse files
geertugregkh
authored andcommitted
serial: 8250: Document termios parameter of serial8250_em485_config()
With W=1: drivers/tty/serial/8250/8250_port.c:679: warning: Function parameter or member 'termios' not described in 'serial8250_em485_config' Fix this by documenting the parameter. Fixes: ae50bb2 ("serial: take termios_rwsem for ->rs485_config() & pass termios as param") Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be> Reviewed-by: Jiri Slaby <jirislaby@kernel.org> Link: https://lore.kernel.org/r/2bd1e62be1d5d33333002910372feecc6d52e78f.1682071013.git.geert+renesas@glider.be Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
1 parent d2b0051 commit f16182e

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

drivers/tty/serial/8250/8250_port.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -669,6 +669,7 @@ EXPORT_SYMBOL_GPL(serial8250_em485_supported);
669669
/**
670670
* serial8250_em485_config() - generic ->rs485_config() callback
671671
* @port: uart port
672+
* @termios: termios structure
672673
* @rs485: rs485 settings
673674
*
674675
* Generic callback usable by 8250 uart drivers to activate rs485 settings

0 commit comments

Comments
 (0)