[PATCH] gen_stats.c: Add description for cpu argument

Subsystems: networking [general], the rest

STALE3825d

2 messages, 2 authors, 2016-03-20 · open the first message on its own page

[PATCH] gen_stats.c: Add description for cpu argument

From: Luis de Bethencourt <hidden>
Date: 2016-03-19 21:20:08

Function gnet_stats_copy_basic is missing the description of the cpu
argument in the documentation. Adding it.

Signed-off-by: Luis de Bethencourt <redacted>
---
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(+)
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
-- 
2.5.1

Re: [PATCH] gen_stats.c: Add description for cpu argument

From: David Miller <davem@davemloft.net>
Date: 2016-03-20 20:49:15

From: Luis de Bethencourt <redacted>
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 <redacted>
Applied.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help