mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-06-22 14:41:27 +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
|
@ -119,7 +119,7 @@ int sctp_rcv(struct sk_buff *skb)
|
|||
struct sctp_af *af;
|
||||
struct net *net = dev_net(skb->dev);
|
||||
|
||||
if (skb->pkt_type!=PACKET_HOST)
|
||||
if (skb->pkt_type != PACKET_HOST)
|
||||
goto discard_it;
|
||||
|
||||
SCTP_INC_STATS_BH(net, SCTP_MIB_INSCTPPACKS);
|
||||
|
@ -1055,7 +1055,7 @@ static struct sctp_association *__sctp_rcv_walk_lookup(struct net *net,
|
|||
if (ch_end > skb_tail_pointer(skb))
|
||||
break;
|
||||
|
||||
switch(ch->type) {
|
||||
switch (ch->type) {
|
||||
case SCTP_CID_AUTH:
|
||||
have_auth = chunk_num;
|
||||
break;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue