summaryrefslogtreecommitdiffstats
path: root/net/sctp/proc.c
diff options
context:
space:
mode:
Diffstat (limited to 'net/sctp/proc.c')
-rw-r--r--net/sctp/proc.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/net/sctp/proc.c b/net/sctp/proc.c
index de32e14f7398..63ba0bdc867a 100644
--- a/net/sctp/proc.c
+++ b/net/sctp/proc.c
@@ -177,7 +177,7 @@ static void sctp_seq_dump_remote_addrs(struct seq_file *seq, struct sctp_associa
177 rcu_read_unlock(); 177 rcu_read_unlock();
178} 178}
179 179
180static void * sctp_eps_seq_start(struct seq_file *seq, loff_t *pos) 180static void *sctp_eps_seq_start(struct seq_file *seq, loff_t *pos)
181{ 181{
182 if (*pos >= sctp_ep_hashsize) 182 if (*pos >= sctp_ep_hashsize)
183 return NULL; 183 return NULL;
@@ -196,7 +196,7 @@ static void sctp_eps_seq_stop(struct seq_file *seq, void *v)
196} 196}
197 197
198 198
199static void * sctp_eps_seq_next(struct seq_file *seq, void *v, loff_t *pos) 199static void *sctp_eps_seq_next(struct seq_file *seq, void *v, loff_t *pos)
200{ 200{
201 if (++*pos >= sctp_ep_hashsize) 201 if (++*pos >= sctp_ep_hashsize)
202 return NULL; 202 return NULL;
@@ -282,7 +282,7 @@ void sctp_eps_proc_exit(struct net *net)
282} 282}
283 283
284 284
285static void * sctp_assocs_seq_start(struct seq_file *seq, loff_t *pos) 285static void *sctp_assocs_seq_start(struct seq_file *seq, loff_t *pos)
286{ 286{
287 if (*pos >= sctp_assoc_hashsize) 287 if (*pos >= sctp_assoc_hashsize)
288 return NULL; 288 return NULL;
@@ -305,7 +305,7 @@ static void sctp_assocs_seq_stop(struct seq_file *seq, void *v)
305} 305}
306 306
307 307
308static void * sctp_assocs_seq_next(struct seq_file *seq, void *v, loff_t *pos) 308static void *sctp_assocs_seq_next(struct seq_file *seq, void *v, loff_t *pos)
309{ 309{
310 if (++*pos >= sctp_assoc_hashsize) 310 if (++*pos >= sctp_assoc_hashsize)
311 return NULL; 311 return NULL;