diff mbox

[net] net_sched: add missing paddattr description

Message ID 1465391985.7945.4.camel@edumazet-glaptop3.roam.corp.google.com
State Accepted, archived
Delegated to: David Miller
Headers show

Commit Message

Eric Dumazet June 8, 2016, 1:19 p.m. UTC
From: Eric Dumazet <edumazet@google.com>

"make htmldocs" complains otherwise:

.//net/core/gen_stats.c:65: warning: No description found for parameter 'padattr'
.//net/core/gen_stats.c:101: warning: No description found for parameter 'padattr'


Fixes: 9854518ea04d ("sched: align nlattr properly when needed")
Signed-off-by: Eric Dumazet <edumazet@google.com>
Reported-by: kbuild test robot <fengguang.wu@intel.com>
---
 net/core/gen_stats.c |    2 ++
 1 file changed, 2 insertions(+)

Comments

Nicolas Dichtel June 8, 2016, 1:37 p.m. UTC | #1
Le 08/06/2016 15:19, Eric Dumazet a écrit :
> From: Eric Dumazet <edumazet@google.com>
> 
> "make htmldocs" complains otherwise:
> 
> .//net/core/gen_stats.c:65: warning: No description found for parameter 'padattr'
> .//net/core/gen_stats.c:101: warning: No description found for parameter 'padattr'
> 
> 
> Fixes: 9854518ea04d ("sched: align nlattr properly when needed")
> Signed-off-by: Eric Dumazet <edumazet@google.com>
> Reported-by: kbuild test robot <fengguang.wu@intel.com>
Acked-by: Nicolas Dichtel <nicolas.dichtel@6wind.com>

Thanks Eric.
David Miller June 8, 2016, 6:17 p.m. UTC | #2
From: Eric Dumazet <eric.dumazet@gmail.com>
Date: Wed, 08 Jun 2016 06:19:45 -0700

> From: Eric Dumazet <edumazet@google.com>
> 
> "make htmldocs" complains otherwise:
> 
> .//net/core/gen_stats.c:65: warning: No description found for parameter 'padattr'
> .//net/core/gen_stats.c:101: warning: No description found for parameter 'padattr'
> 
> 
> Fixes: 9854518ea04d ("sched: align nlattr properly when needed")
> Signed-off-by: Eric Dumazet <edumazet@google.com>
> Reported-by: kbuild test robot <fengguang.wu@intel.com>

Applied, thanks.
diff mbox

Patch

diff --git a/net/core/gen_stats.c b/net/core/gen_stats.c
index f96ee8b9478d..be873e4e3125 100644
--- a/net/core/gen_stats.c
+++ b/net/core/gen_stats.c
@@ -47,6 +47,7 @@  nla_put_failure:
  * @xstats_type: TLV type for backward compatibility xstats TLV
  * @lock: statistics lock
  * @d: dumping handle
+ * @padattr: padding attribute
  *
  * Initializes the dumping handle, grabs the statistic lock and appends
  * an empty TLV header to the socket buffer for use a container for all
@@ -87,6 +88,7 @@  EXPORT_SYMBOL(gnet_stats_start_copy_compat);
  * @type: TLV type for top level statistic TLV
  * @lock: statistics lock
  * @d: dumping handle
+ * @padattr: padding attribute
  *
  * Initializes the dumping handle, grabs the statistic lock and appends
  * an empty TLV header to the socket buffer for use a container for all