summaryrefslogtreecommitdiffstats
path: root/net
diff options
context:
space:
mode:
authorAl Viro2006-11-21 01:59:45 +0100
committerDavid S. Miller2006-12-03 06:26:17 +0100
commit5bf2db03908b9121805af3c76e3ac2d0759e199f (patch)
tree4d512f9410eea1679e5be709941f620bd83e470a /net
parent[SCTP]: Annotate SCTP headers. (diff)
downloadkernel-qcow2-linux-5bf2db03908b9121805af3c76e3ac2d0759e199f.tar.gz
kernel-qcow2-linux-5bf2db03908b9121805af3c76e3ac2d0759e199f.tar.xz
kernel-qcow2-linux-5bf2db03908b9121805af3c76e3ac2d0759e199f.zip
[SCTP]: Annotate sctp_init_cause().
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net')
-rw-r--r--net/sctp/sm_make_chunk.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/sctp/sm_make_chunk.c b/net/sctp/sm_make_chunk.c
index 507dff72c585..37472be16014 100644
--- a/net/sctp/sm_make_chunk.c
+++ b/net/sctp/sm_make_chunk.c
@@ -111,7 +111,7 @@ static const struct sctp_paramhdr prsctp_param = {
* provided chunk, as most cause codes will be embedded inside an
* abort chunk.
*/
-void sctp_init_cause(struct sctp_chunk *chunk, __u16 cause_code,
+void sctp_init_cause(struct sctp_chunk *chunk, __be16 cause_code,
const void *payload, size_t paylen)
{
sctp_errhdr_t err;