Skip to content

Commit

Permalink
net: sock.h: fix skb_steal_sock() kernel-doc
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Lothar Rubusch authored and David S. Miller committed Apr 8, 2020
1 parent c2c1128 commit 045065f
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions include/net/sock.h
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 045065f

Please sign in to comment.