Commit db28aafa authored by Ioan Orghici's avatar Ioan Orghici Committed by David S. Miller

sctp: fix sparse warning for sctp_init_cause_fixed

Fix the following sparse warning:
	* symbol 'sctp_init_cause_fixed' was not declared. Should it be
	  static?
Signed-off-by: default avatarIoan Orghici <ioanorghici@gmail.com>
Acked-by: default avatarVlad Yasevich <vyasevich@gmail.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent efdfad32
...@@ -132,7 +132,7 @@ void sctp_init_cause(struct sctp_chunk *chunk, __be16 cause_code, ...@@ -132,7 +132,7 @@ void sctp_init_cause(struct sctp_chunk *chunk, __be16 cause_code,
* abort chunk. Differs from sctp_init_cause in that it won't oops * abort chunk. Differs from sctp_init_cause in that it won't oops
* if there isn't enough space in the op error chunk * if there isn't enough space in the op error chunk
*/ */
int sctp_init_cause_fixed(struct sctp_chunk *chunk, __be16 cause_code, static int sctp_init_cause_fixed(struct sctp_chunk *chunk, __be16 cause_code,
size_t paylen) size_t paylen)
{ {
sctp_errhdr_t err; sctp_errhdr_t err;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment