[PATCH 3/3] tty_port: Fix kernel-docs warnings

From: Tobin C. Harding
Date: Wed Sep 12 2018 - 03:51:31 EST


Currently extracting the kernel-docs causes a six warnings of type

warning: Function parameter or member 'foo' not described in 'bar'

Add function parameter descriptions to the function kernel-docs.

Signed-off-by: Tobin C. Harding <me@xxxxxxxx>
---
drivers/tty/tty_port.c | 6 ++++++
1 file changed, 6 insertions(+)

diff --git a/drivers/tty/tty_port.c b/drivers/tty/tty_port.c
index 382282013c9d..2444ed90b93d 100644
--- a/drivers/tty/tty_port.c
+++ b/drivers/tty/tty_port.c
@@ -622,6 +622,9 @@ EXPORT_SYMBOL(tty_port_close_end);

/**
* tty_port_close()
+ * @port: tty port
+ * @tty: the tty
+ * @filp: the file pointer
*
* Caller holds tty lock
*/
@@ -657,6 +660,9 @@ EXPORT_SYMBOL_GPL(tty_port_install);

/**
* tty_port_open()
+ * @port: tty port
+ * @tty: the tty
+ * @filp: the file pointer
*
* Caller holds tty lock.
*
--
2.17.1