net: fix some identation issues at kernel-doc markups
Sphinx is very pedantic with regards to identation and escape sequences: ./include/net/sock.h:1967: ERROR: Unexpected indentation. ./include/net/sock.h:1969: ERROR: Unexpected indentation. ./include/net/sock.h:1970: WARNING: Block quote ends without a blank line; unexpected unindent. ./include/net/sock.h:1971: WARNING: Block quote ends without a blank line; unexpected unindent. ./include/net/sock.h:2268: WARNING: Inline emphasis start-string without end-string. ./net/core/sock.c:2686: ERROR: Unexpected indentation. ./net/core/sock.c:2687: WARNING: Block quote ends without a blank line; unexpected unindent. ./net/core/datagram.c:182: WARNING: Inline emphasis start-string without end-string. ./include/linux/netdevice.h:1444: ERROR: Unexpected indentation. ./drivers/net/phy/phy.c:381: ERROR: Unexpected indentation. ./drivers/net/phy/phy.c:382: WARNING: Block quote ends without a blank line; unexpected unindent. - Fix spacing where needed; - Properly escape constants; - Use a literal block for a race description. No functional changes. Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
This commit is contained in:
@@ -1953,11 +1953,10 @@ static inline bool sk_has_allocations(const struct sock *sk)
|
||||
* The purpose of the skwq_has_sleeper and sock_poll_wait is to wrap the memory
|
||||
* barrier call. They were added due to the race found within the tcp code.
|
||||
*
|
||||
* Consider following tcp code paths:
|
||||
* Consider following tcp code paths::
|
||||
*
|
||||
* CPU1 CPU2
|
||||
*
|
||||
* sys_select receive packet
|
||||
* CPU1 CPU2
|
||||
* sys_select receive packet
|
||||
* ... ...
|
||||
* __add_wait_queue update tp->rcv_nxt
|
||||
* ... ...
|
||||
@@ -2264,7 +2263,7 @@ void __sock_tx_timestamp(__u16 tsflags, __u8 *tx_flags);
|
||||
* @tsflags: timestamping flags to use
|
||||
* @tx_flags: completed with instructions for time stamping
|
||||
*
|
||||
* Note : callers should take care of initial *tx_flags value (usually 0)
|
||||
* Note: callers should take care of initial ``*tx_flags`` value (usually 0)
|
||||
*/
|
||||
static inline void sock_tx_timestamp(const struct sock *sk, __u16 tsflags,
|
||||
__u8 *tx_flags)
|
||||
|
Reference in New Issue
Block a user