2016-03-19 21:20:08

by Luis de Bethencourt

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

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

Signed-off-by: Luis de Bethencourt <[email protected]>
---
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


2016-03-20 20:49:15

by David Miller

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

From: Luis de Bethencourt <[email protected]>
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 <[email protected]>

Applied.