Skip to content

Commit d3f6cd9

Browse files
shemmingerdavem330
authored andcommitted
datagram: fix kernel-doc comments
An underscore in the kernel-doc comment section has special meaning and mis-use generates an errors. ./net/core/datagram.c:207: ERROR: Unknown target name: "msg". ./net/core/datagram.c:379: ERROR: Unknown target name: "msg". ./net/core/datagram.c:816: ERROR: Unknown target name: "t". Signed-off-by: Stephen Hemminger <[email protected]> Signed-off-by: David S. Miller <[email protected]>
1 parent 771edca commit d3f6cd9

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

net/core/datagram.c

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -203,7 +203,7 @@ struct sk_buff *__skb_try_recv_from_queue(struct sock *sk,
203203
/**
204204
* __skb_try_recv_datagram - Receive a datagram skbuff
205205
* @sk: socket
206-
* @flags: MSG_ flags
206+
* @flags: MSG\_ flags
207207
* @destructor: invoked under the receive lock on successful dequeue
208208
* @peeked: returns non-zero if this packet has been seen before
209209
* @off: an offset in bytes to peek skb from. Returns an offset
@@ -375,7 +375,7 @@ EXPORT_SYMBOL(__sk_queue_drop_skb);
375375
* skb_kill_datagram - Free a datagram skbuff forcibly
376376
* @sk: socket
377377
* @skb: datagram skbuff
378-
* @flags: MSG_ flags
378+
* @flags: MSG\_ flags
379379
*
380380
* This function frees a datagram skbuff that was received by
381381
* skb_recv_datagram. The flags argument must match the one
@@ -809,7 +809,7 @@ EXPORT_SYMBOL(skb_copy_and_csum_datagram_msg);
809809
* sequenced packet sockets providing the socket receive queue
810810
* is only ever holding data ready to receive.
811811
*
812-
* Note: when you _don't_ use this routine for this protocol,
812+
* Note: when you *don't* use this routine for this protocol,
813813
* and you use a different write policy from sock_writeable()
814814
* then please supply your own write_space callback.
815815
*/

0 commit comments

Comments
 (0)