Re: [PATCH] serial: 8250: Document termios parameter of serial8250_em485_config()

From: Jiri Slaby
Date: Mon Apr 24 2023 - 05:21:08 EST


On 21. 04. 23, 11:58, Geert Uytterhoeven wrote:
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: ae50bb2752836277 ("serial: take termios_rwsem for ->rs485_config() & pass termios as param")
Signed-off-by: Geert Uytterhoeven <geert+renesas@xxxxxxxxx>

Reviewed-by: Jiri Slaby <jirislaby@xxxxxxxxxx>

thanks,
--
js
suse labs