summaryrefslogtreecommitdiff
path: root/include/net
diff options
context:
space:
mode:
authorLothar Rubusch <l.rubusch@gmail.com>2020-04-08 01:55:25 +0300
committerDavid S. Miller <davem@davemloft.net>2020-04-08 04:09:30 +0300
commit045065f06f938d3171b3ffacb34453421a32c1e3 (patch)
tree38a339f43de0ac601b70b56c14ee31e9c296839d /include/net
parentc2c11289021dfacec1658b2019faab10e12f383a (diff)
downloadlinux-045065f06f938d3171b3ffacb34453421a32c1e3.tar.xz
net: sock.h: fix skb_steal_sock() kernel-doc
Fix warnings related to kernel-doc notation, and wording in function description. Signed-off-by: Lothar Rubusch <l.rubusch@gmail.com> Acked-by: Randy Dunlap <rdunlap@infradead.org> Tested-by: Randy Dunlap <rdunlap@infradead.org> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/net')
-rw-r--r--include/net/sock.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/include/net/sock.h b/include/net/sock.h
index 6d84784d33fa..3e8c6d4b4b59 100644
--- a/include/net/sock.h
+++ b/include/net/sock.h
@@ -2553,9 +2553,9 @@ sk_is_refcounted(struct sock *sk)
}
/**
- * skb_steal_sock
- * @skb to steal the socket from
- * @refcounted is set to true if the socket is reference-counted
+ * skb_steal_sock - steal a socket from an sk_buff
+ * @skb: sk_buff to steal the socket from
+ * @refcounted: is set to true if the socket is reference-counted
*/
static inline struct sock *
skb_steal_sock(struct sk_buff *skb, bool *refcounted)