aboutsummaryrefslogtreecommitdiffstats
path: root/net/sctp/objcnt.c
diff options
context:
space:
mode:
authorwangweidong <wangweidong1@huawei.com>2013-12-23 12:16:51 +0800
committerDavid S. Miller <davem@davemloft.net>2013-12-26 13:47:47 -0500
commit26ac8e5fe1562831e68ccd9f7057aade37aab2a3 (patch)
treeb794c102b9c92d6a7433af238d4332ea6424a893 /net/sctp/objcnt.c
parentsctp: fix checkpatch errors with space required or prohibited (diff)
downloadlinux-dev-26ac8e5fe1562831e68ccd9f7057aade37aab2a3.tar.xz
linux-dev-26ac8e5fe1562831e68ccd9f7057aade37aab2a3.zip
sctp: fix checkpatch errors with (foo*)|foo * bar|foo* bar
fix checkpatch errors below: ERROR: "(foo*)" should be "(foo *)" ERROR: "foo * bar" should be "foo *bar" ERROR: "foo* bar" should be "foo *bar" Signed-off-by: Wang Weidong <wangweidong1@huawei.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/sctp/objcnt.c')
-rw-r--r--net/sctp/objcnt.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/sctp/objcnt.c b/net/sctp/objcnt.c
index 0c28e8a55324..40e7fac96c41 100644
--- a/net/sctp/objcnt.c
+++ b/net/sctp/objcnt.c
@@ -97,7 +97,7 @@ static void sctp_objcnt_seq_stop(struct seq_file *seq, void *v)
{
}
-static void * sctp_objcnt_seq_next(struct seq_file *seq, void *v, loff_t *pos)
+static void *sctp_objcnt_seq_next(struct seq_file *seq, void *v, loff_t *pos)
{
++*pos;
return (*pos >= ARRAY_SIZE(sctp_dbg_objcnt)) ? NULL : (void *)pos;