lkml.org 
[lkml]   [2018]   [Sep]   [12]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
From
Subject[PATCH 3/3] tty_port: Fix kernel-docs warnings
Date
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@tobin.cc>
---
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
\
 
 \ /
  Last update: 2018-09-12 09:52    [W:0.809 / U:0.272 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site