Skip to contentSkip to conversation

net: document skb parameter in function 'skb_gso_size_check'

PATCH Applied Mathieu Malaterre 2 participants 2 messages Oct 31, 2018 – Nov 3, 2018

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 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'

---
 net/core/skbuff.c | 2 ++
 1 file changed, 2 insertions(+)
net/core/skbuff.c +2 -0
index 7eb7e0e104d4..4e774f34ccc3 100644
@@ -4941,6 +4941,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].
  *
Signature · 1 line
2.11.0