diff options
author | Lee Jones <lee.jones@linaro.org> | 2020-11-04 20:35:42 +0100 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2020-11-06 10:54:05 +0100 |
commit | 8a3bdec1dff987293df05e90ec1f5030dd840803 (patch) | |
tree | 4a7192550f5d90201a5845069bec4420e8af5b91 /drivers/tty | |
parent | tty: serial: stm32-usart: Remove set but unused 'cookie' variables (diff) | |
download | linux-8a3bdec1dff987293df05e90ec1f5030dd840803.tar.xz linux-8a3bdec1dff987293df05e90ec1f5030dd840803.zip |
tty: tty_ldisc: Supply missing description for 'tty_ldisc_get's 'tty' param
Fixes the following W=1 kernel build warning(s):
drivers/tty/tty_ldisc.c:160: warning: Function parameter or member 'tty' not described in 'tty_ldisc_get'
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-30-lee.jones@linaro.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/tty')
-rw-r--r-- | drivers/tty/tty_ldisc.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/tty/tty_ldisc.c b/drivers/tty/tty_ldisc.c index fe37ec331289..e813808b27a7 100644 --- a/drivers/tty/tty_ldisc.c +++ b/drivers/tty/tty_ldisc.c @@ -137,6 +137,7 @@ static void put_ldops(struct tty_ldisc_ops *ldops) /** * tty_ldisc_get - take a reference to an ldisc + * @tty: tty device * @disc: ldisc number * * Takes a reference to a line discipline. Deals with refcounts and |