mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-07-23 07:12:09 +00:00
sctp: fix checkpatch errors with space required or prohibited
fix checkpatch errors while the space is required or prohibited to the "=,()++..." Acked-by: Neil Horman <nhorman@tuxdriver.com> Signed-off-by: Wang Weidong <wangweidong1@huawei.com> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
parent
4c99aa409a
commit
cb3f837ba9
10 changed files with 43 additions and 43 deletions
|
@ -254,7 +254,7 @@ struct sctp_datamsg *sctp_datamsg_from_user(struct sctp_association *asoc,
|
|||
SCTP_INC_STATS_USER(sock_net(asoc->base.sk), SCTP_MIB_FRAGUSRMSGS);
|
||||
|
||||
/* Create chunks for all the full sized DATA chunks. */
|
||||
for (i=0, len=first_len; i < whole; i++) {
|
||||
for (i = 0, len = first_len; i < whole; i++) {
|
||||
frag = SCTP_DATA_MIDDLE_FRAG;
|
||||
|
||||
if (0 == i)
|
||||
|
@ -317,7 +317,7 @@ struct sctp_datamsg *sctp_datamsg_from_user(struct sctp_association *asoc,
|
|||
goto errout;
|
||||
}
|
||||
|
||||
err = sctp_user_addto_chunk(chunk, offset, over,msgh->msg_iov);
|
||||
err = sctp_user_addto_chunk(chunk, offset, over, msgh->msg_iov);
|
||||
|
||||
/* Put the chunk->skb back into the form expected by send. */
|
||||
__skb_pull(chunk->skb, (__u8 *)chunk->chunk_hdr
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue