diff options
author | wangweidong <wangweidong1@huawei.com> | 2013-12-23 05:16:51 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2013-12-26 19:47:47 +0100 |
commit | 26ac8e5fe1562831e68ccd9f7057aade37aab2a3 (patch) | |
tree | b794c102b9c92d6a7433af238d4332ea6424a893 /net/sctp/sm_make_chunk.c | |
parent | sctp: fix checkpatch errors with space required or prohibited (diff) | |
download | linux-26ac8e5fe1562831e68ccd9f7057aade37aab2a3.tar.xz linux-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/sm_make_chunk.c')
-rw-r--r-- | net/sctp/sm_make_chunk.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/sctp/sm_make_chunk.c b/net/sctp/sm_make_chunk.c index 439d87206820..d53af47efa7d 100644 --- a/net/sctp/sm_make_chunk.c +++ b/net/sctp/sm_make_chunk.c @@ -2251,7 +2251,7 @@ int sctp_verify_init(struct net *net, const struct sctp_association *asoc, * VIOLATION error. We build the ERROR chunk here and let the normal * error handling code build and send the packet. */ - if (param.v != (void*)chunk->chunk_end) + if (param.v != (void *)chunk->chunk_end) return sctp_process_inv_paramlength(asoc, param.p, chunk, errp); /* The only missing mandatory param possible today is |