summaryrefslogtreecommitdiff
path: root/net
diff options
context:
space:
mode:
authorMathieu Malaterre <malat@debian.org>2018-10-31 15:16:58 +0300
committerDavid S. Miller <davem@davemloft.net>2018-11-03 09:34:37 +0300
commit49682bfa1e0e448a711471a5db83be0df1fb39a2 (patch)
tree76ee362e4606d41f2bc11e9e1aa81df5f6cb1080 /net
parent7de414a9dd91426318df7b63da024b2b07e53df5 (diff)
downloadlinux-49682bfa1e0e448a711471a5db83be0df1fb39a2.tar.xz
net: document skb parameter in function 'skb_gso_size_check'
Remove kernel-doc warning: net/core/skbuff.c:4953: warning: Function parameter or member 'skb' not described in 'skb_gso_size_check' Signed-off-by: Mathieu Malaterre <malat@debian.org> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net')
-rw-r--r--net/core/skbuff.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/net/core/skbuff.c b/net/core/skbuff.c
index 946de0e24c87..b4ee5c8b928f 100644
--- a/net/core/skbuff.c
+++ b/net/core/skbuff.c
@@ -4944,6 +4944,8 @@ static unsigned int skb_gso_mac_seglen(const struct sk_buff *skb)
*
* This is a helper to do that correctly considering GSO_BY_FRAGS.
*
+ * @skb: GSO skb
+ *
* @seg_len: The segmented length (from skb_gso_*_seglen). In the
* GSO_BY_FRAGS case this will be [header sizes + GSO_BY_FRAGS].
*