From 8a3bdec1dff987293df05e90ec1f5030dd840803 Mon Sep 17 00:00:00 2001 From: Lee Jones Date: Wed, 4 Nov 2020 19:35:42 +0000 Subject: [PATCH] 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 Cc: Jiri Slaby Signed-off-by: Lee Jones Link: https://lore.kernel.org/r/20201104193549.4026187-30-lee.jones@linaro.org Signed-off-by: Greg Kroah-Hartman --- drivers/tty/tty_ldisc.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/tty/tty_ldisc.c b/drivers/tty/tty_ldisc.c index fe37ec3..e813808 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 -- 2.7.4