mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-07-23 07:12:09 +00:00
sctp: fix checkpatch errors with open brace '{' and trailing statements
fix checkpatch errors below: ERROR: that open brace { should be on the previous line ERROR: open brace '{' following function declarations go on the next line ERROR: trailing statements should be on next line Signed-off-by: Wang Weidong <wangweidong1@huawei.com> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
parent
f7010e6144
commit
8d72651d86
5 changed files with 9 additions and 10 deletions
|
@ -336,7 +336,8 @@ static struct sctp_ulpevent *sctp_make_reassembled_event(struct net *net,
|
|||
pos = f_frag->next;
|
||||
|
||||
/* Get the last skb in the f_frag's frag_list if present. */
|
||||
for (last = list; list; last = list, list = list->next);
|
||||
for (last = list; list; last = list, list = list->next)
|
||||
;
|
||||
|
||||
/* Add the list of remaining fragments to the first fragments
|
||||
* frag_list.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue