* [PATCH v3 net-next 8/8] sctp: setsockopt, whitespace changes
@ 2020-05-26 16:40 David Laight
0 siblings, 0 replies; only message in thread
From: David Laight @ 2020-05-26 16:40 UTC (permalink / raw)
To: 'Vlad Yasevich', 'Neil Horman',
'David S. Miller', 'Jakub Kicinski',
'linux-sctp@vger.kernel.org',
'netdev@vger.kernel.org', 'Christoph Hellwig',
'Marcelo Ricardo Leitner'
Fix alignment of ?: continued lines.
Signed-off-by: David Laight <david.laight@aculab.com>
---
net/sctp/socket.c | 20 ++++++++++----------
1 file changed, 10 insertions(+), 10 deletions(-)
diff --git a/net/sctp/socket.c b/net/sctp/socket.c
index 6d35ea3..4b89e5f 100644
--- a/net/sctp/socket.c
+++ b/net/sctp/socket.c
@@ -6304,7 +6304,7 @@ static int sctp_getsockopt_context(struct sock *sk, int len,
return -EINVAL;
params->assoc_value = asoc ? asoc->default_rcv_context
- : sctp_sk(sk)->default_rcv_context;
+ : sctp_sk(sk)->default_rcv_context;
return 0;
}
@@ -6789,7 +6789,7 @@ static int sctp_getsockopt_pr_supported(struct sock *sk, int len,
}
params->assoc_value = asoc ? asoc->peer.prsctp_capable
- : sctp_sk(sk)->ep->prsctp_enable;
+ : sctp_sk(sk)->ep->prsctp_enable;
return 0;
}
@@ -6924,7 +6924,7 @@ static int sctp_getsockopt_reconfig_supported(struct sock *sk, int len,
return -EINVAL;
params->assoc_value = asoc ? asoc->peer.reconf_capable
- : sctp_sk(sk)->ep->reconf_enable;
+ : sctp_sk(sk)->ep->reconf_enable;
return 0;
}
@@ -6943,7 +6943,7 @@ static int sctp_getsockopt_enable_strreset(struct sock *sk, int len,
return -EINVAL;
params->assoc_value = asoc ? asoc->strreset_enable
- : sctp_sk(sk)->ep->strreset_enable;
+ : sctp_sk(sk)->ep->strreset_enable;
return 0;
}
@@ -6962,7 +6962,7 @@ static int sctp_getsockopt_scheduler(struct sock *sk, int len,
return -EINVAL;
params->assoc_value = asoc ? sctp_sched_get_sched(asoc)
- : sctp_sk(sk)->default_ss;
+ : sctp_sk(sk)->default_ss;
return 0;
}
@@ -6997,7 +6997,7 @@ static int sctp_getsockopt_interleaving_supported(struct sock *sk, int len,
return -EINVAL;
params->assoc_value = asoc ? asoc->peer.intl_capable
- : sctp_sk(sk)->ep->intl_enable;
+ : sctp_sk(sk)->ep->intl_enable;
return 0;
}
@@ -7053,7 +7053,7 @@ static int sctp_getsockopt_asconf_supported(struct sock *sk, int len,
return -EINVAL;
params->assoc_value = asoc ? asoc->peer.asconf_capable
- : sctp_sk(sk)->ep->asconf_enable;
+ : sctp_sk(sk)->ep->asconf_enable;
return 0;
}
@@ -7072,7 +7072,7 @@ static int sctp_getsockopt_auth_supported(struct sock *sk, int len,
return -EINVAL;
params->assoc_value = asoc ? asoc->peer.auth_capable
- : sctp_sk(sk)->ep->auth_enable;
+ : sctp_sk(sk)->ep->auth_enable;
return 0;
}
@@ -7091,7 +7091,7 @@ static int sctp_getsockopt_ecn_supported(struct sock *sk, int len,
return -EINVAL;
params->assoc_value = asoc ? asoc->peer.ecn_capable
- : sctp_sk(sk)->ep->ecn_enable;
+ : sctp_sk(sk)->ep->ecn_enable;
return 0;
}
@@ -7110,7 +7110,7 @@ static int sctp_getsockopt_pf_expose(struct sock *sk, int len,
return -EINVAL;
params->assoc_value = asoc ? asoc->pf_expose
- : sctp_sk(sk)->pf_expose;
+ : sctp_sk(sk)->pf_expose;
return 0;
}
--
1.8.1.2
-
Registered Address Lakeside, Bramley Road, Mount Farm, Milton Keynes, MK1 1PT, UK
Registration No: 1397386 (Wales)
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2020-05-26 16:46 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-05-26 16:40 [PATCH v3 net-next 8/8] sctp: setsockopt, whitespace changes David Laight
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).