提交 bc173f70 编写于 作者: R Randy Dunlap 提交者: Linus Torvalds

kfifo: fix kernel-doc notation

Fix kfifo kernel-doc warnings:

Warning(kernel/kfifo.c:361): No description found for parameter 'total'
Warning(kernel/kfifo.c:402): bad line:  @ @lenout: pointer to output variable with copied data
Warning(kernel/kfifo.c:412): No description found for parameter 'lenout'
Signed-off-by: NRandy Dunlap <randy.dunlap@oracle.com>
Cc: Stefani Seibold <stefani@seibold.net>
Signed-off-by: NAndrew Morton <akpm@linux-foundation.org>
Signed-off-by: NLinus Torvalds <torvalds@linux-foundation.org>
上级 f4b51628
...@@ -349,6 +349,7 @@ EXPORT_SYMBOL(__kfifo_from_user_n); ...@@ -349,6 +349,7 @@ EXPORT_SYMBOL(__kfifo_from_user_n);
* @fifo: the fifo to be used. * @fifo: the fifo to be used.
* @from: pointer to the data to be added. * @from: pointer to the data to be added.
* @len: the length of the data to be added. * @len: the length of the data to be added.
* @total: the actual returned data length.
* *
* This function copies at most @len bytes from the @from into the * This function copies at most @len bytes from the @from into the
* FIFO depending and returns -EFAULT/0. * FIFO depending and returns -EFAULT/0.
...@@ -399,7 +400,7 @@ EXPORT_SYMBOL(__kfifo_to_user_n); ...@@ -399,7 +400,7 @@ EXPORT_SYMBOL(__kfifo_to_user_n);
* @fifo: the fifo to be used. * @fifo: the fifo to be used.
* @to: where the data must be copied. * @to: where the data must be copied.
* @len: the size of the destination buffer. * @len: the size of the destination buffer.
@ @lenout: pointer to output variable with copied data * @lenout: pointer to output variable with copied data
* *
* This function copies at most @len bytes from the FIFO into the * This function copies at most @len bytes from the FIFO into the
* @to buffer and 0 or -EFAULT. * @to buffer and 0 or -EFAULT.
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册