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


Groups > linux.kernel > #1212215 > unrolled thread

[PATCH] net-next: Fix warning while make xmldocs caused by skbuff.c

Started byMasanari Iida <standby24x7@gmail.com>
First post2015-08-24 16:00 +0200
Last post2015-08-25 23:30 +0200
Articles 2 — 2 participants

Back to article view | Back to linux.kernel


Contents

  [PATCH] net-next: Fix warning while make xmldocs caused by skbuff.c Masanari Iida <standby24x7@gmail.com> - 2015-08-24 16:00 +0200
    Re: [PATCH] net-next: Fix warning while make xmldocs caused by  skbuff.c David Miller <davem@davemloft.net> - 2015-08-25 23:30 +0200

#1212215 — [PATCH] net-next: Fix warning while make xmldocs caused by skbuff.c

FromMasanari Iida <standby24x7@gmail.com>
Date2015-08-24 16:00 +0200
Subject[PATCH] net-next: Fix warning while make xmldocs caused by skbuff.c
Message-ID<q10s3-14H-23@gated-at.bofh.it>
This patch fix following warnings.

.//net/core/skbuff.c:407: warning: No description found
for parameter 'len'
.//net/core/skbuff.c:407: warning: Excess function parameter
 'length' description in '__netdev_alloc_skb'
.//net/core/skbuff.c:476: warning: No description found
 for parameter 'len'
.//net/core/skbuff.c:476: warning: Excess function parameter
'length' description in '__napi_alloc_skb'

Signed-off-by: Masanari Iida <standby24x7@gmail.com>
---
 net/core/skbuff.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/net/core/skbuff.c b/net/core/skbuff.c
index 7b84330..dad4dd3 100644
--- a/net/core/skbuff.c
+++ b/net/core/skbuff.c
@@ -392,7 +392,7 @@ EXPORT_SYMBOL(napi_alloc_frag);
 /**
  *	__netdev_alloc_skb - allocate an skbuff for rx on a specific device
  *	@dev: network device to receive on
- *	@length: length to allocate
+ *	@len: length to allocate
  *	@gfp_mask: get_free_pages mask, passed to alloc_skb
  *
  *	Allocate a new &sk_buff and assign it a usage count of one. The
@@ -461,7 +461,7 @@ EXPORT_SYMBOL(__netdev_alloc_skb);
 /**
  *	__napi_alloc_skb - allocate skbuff for rx in a specific NAPI instance
  *	@napi: napi instance this buffer was allocated for
- *	@length: length to allocate
+ *	@len: length to allocate
  *	@gfp_mask: get_free_pages mask, passed to alloc_skb and alloc_pages
  *
  *	Allocate a new sk_buff for use in NAPI receive.  This buffer will
-- 
2.5.0.234.gefc8a62

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[toc] | [next] | [standalone]


#1213371 — Re: [PATCH] net-next: Fix warning while make xmldocs caused by skbuff.c

FromDavid Miller <davem@davemloft.net>
Date2015-08-25 23:30 +0200
SubjectRe: [PATCH] net-next: Fix warning while make xmldocs caused by skbuff.c
Message-ID<q1tX5-1RJ-43@gated-at.bofh.it>
In reply to#1212215
From: Masanari Iida <standby24x7@gmail.com>
Date: Mon, 24 Aug 2015 22:56:54 +0900

> This patch fix following warnings.
> 
> .//net/core/skbuff.c:407: warning: No description found
> for parameter 'len'
> .//net/core/skbuff.c:407: warning: Excess function parameter
>  'length' description in '__netdev_alloc_skb'
> .//net/core/skbuff.c:476: warning: No description found
>  for parameter 'len'
> .//net/core/skbuff.c:476: warning: Excess function parameter
> 'length' description in '__napi_alloc_skb'
> 
> Signed-off-by: Masanari Iida <standby24x7@gmail.com>

Applied, thank you.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[toc] | [prev] | [standalone]


Back to top | Article view | linux.kernel


csiph-web