]> git.kernelconcepts.de Git - karo-tx-linux.git/commitdiff
net-next: Fix warning while make xmldocs caused by skbuff.c
authorMasanari Iida <standby24x7@gmail.com>
Mon, 24 Aug 2015 13:56:54 +0000 (22:56 +0900)
committerDavid S. Miller <davem@davemloft.net>
Tue, 25 Aug 2015 21:20:48 +0000 (14:20 -0700)
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>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/core/skbuff.c

index bf9a5d93c2d10bbb9c0bfc82d5e7c5df82ef2b5c..8a725cc50a90dc4db48d34b5fb20cdfea0cf7136 100644 (file)
@@ -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