tty: tty_baudrate: Add missing description for 'tty'
authorLee Jones <lee.jones@linaro.org>
Wed, 4 Nov 2020 19:35:16 +0000 (19:35 +0000)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 6 Nov 2020 09:49:27 +0000 (10:49 +0100)
Fixes the following W=1 kernel build warning(s):

 drivers/tty/tty_baudrate.c:234: warning: Function parameter or member 'tty' not described in 'tty_encode_baud_rate'

Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Cc: Jiri Slaby <jirislaby@kernel.org>
Signed-off-by: Lee Jones <lee.jones@linaro.org>
Link: https://lore.kernel.org/r/20201104193549.4026187-4-lee.jones@linaro.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/tty/tty_baudrate.c

index 84fec3c..6551b18 100644 (file)
@@ -222,6 +222,7 @@ EXPORT_SYMBOL_GPL(tty_termios_encode_baud_rate);
 
 /**
  *     tty_encode_baud_rate            -       set baud rate of the tty
+ *     @tty:   terminal device
  *     @ibaud: input baud rate
  *     @obaud: output baud rate
  *