]> git.itanic.dy.fi Git - linux-stable/commit
serial: 8250: Document termios parameter of serial8250_em485_config()
authorGeert Uytterhoeven <geert+renesas@glider.be>
Fri, 21 Apr 2023 09:58:06 +0000 (11:58 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 13 May 2023 10:55:23 +0000 (19:55 +0900)
commitf16182ed9d8430adfab77f5929c23756c94b0230
treecb29cf1586a4457e0b6c294a92256b142b85683d
parentd2b00516de0e1d696724247098f6733a6ea53908
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: ae50bb2752836277 ("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>
drivers/tty/serial/8250/8250_port.c