From: Mathieu Malaterre Date: Wed, 31 Oct 2018 12:16:58 +0000 (+0100) Subject: net: document skb parameter in function 'skb_gso_size_check' X-Git-Url: http://git.cdn.openwrt.org/?a=commitdiff_plain;h=49682bfa1e0e448a711471a5db83be0df1fb39a2;p=openwrt%2Fstaging%2Fblogic.git 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 Signed-off-by: David S. Miller --- 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]. *