diff mbox

gen_stats.c: Add description for cpu argument

Message ID 1458422395-895-1-git-send-email-luisbg@osg.samsung.com
State Accepted, archived
Delegated to: David Miller
Headers show

Commit Message

Luis de Bethencourt March 19, 2016, 9:19 p.m. UTC
Function gnet_stats_copy_basic is missing the description of the cpu
argument in the documentation. Adding it.

Signed-off-by: Luis de Bethencourt <luisbg@osg.samsung.com>
---
Hi,

Noticed this issue when running make htmldocs. I got the following warning:
.//net/core/gen_stats.c:155: warning: No description found for parameter 'cpu'

Thanks,
Luis

 net/core/gen_stats.c | 1 +
 1 file changed, 1 insertion(+)

Comments

David Miller March 20, 2016, 8:49 p.m. UTC | #1
From: Luis de Bethencourt <luisbg@osg.samsung.com>
Date: Sat, 19 Mar 2016 21:19:55 +0000

> Function gnet_stats_copy_basic is missing the description of the cpu
> argument in the documentation. Adding it.
> 
> Signed-off-by: Luis de Bethencourt <luisbg@osg.samsung.com>

Applied.
diff mbox

Patch

diff --git a/net/core/gen_stats.c b/net/core/gen_stats.c
index 1e2f46a..e640462 100644
--- a/net/core/gen_stats.c
+++ b/net/core/gen_stats.c
@@ -140,6 +140,7 @@  EXPORT_SYMBOL(__gnet_stats_copy_basic);
 /**
  * gnet_stats_copy_basic - copy basic statistics into statistic TLV
  * @d: dumping handle
+ * @cpu: copy statistic per cpu
  * @b: basic statistics
  *
  * Appends the basic statistics to the top level TLV created by