Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1361168

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

From Luis de Bethencourt <luisbg@osg.samsung.com>
Newsgroups linux.kernel
Subject [PATCH] gen_stats.c: Add description for cpu argument
Date 2016-03-19 22:30 +0100
Message-ID <rewBA-5uX-7@gated-at.bofh.it> (permalink)
Organization linux.* mail to news gateway

Show all headers | View raw


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(+)

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

Back to linux.kernel | Previous | NextNext in thread | Find similar | Unroll thread


Thread

[PATCH] gen_stats.c: Add description for cpu argument Luis de Bethencourt <luisbg@osg.samsung.com> - 2016-03-19 22:30 +0100
  Re: [PATCH] gen_stats.c: Add description for cpu argument David Miller <davem@davemloft.net> - 2016-03-20 21:50 +0100

csiph-web