diff options
author | Al Viro <viro@zeniv.linux.org.uk> | 2006-11-20 20:00:05 -0500 |
---|---|---|
committer | David S. Miller <davem@sunset.davemloft.net> | 2006-12-03 00:26:18 -0500 |
commit | 63706c5c6fd07f58bed85d0aa031ffbce3a0385f (patch) | |
tree | e764070e34040a8ed14042cf91f7639ef9662e83 | |
parent | 5bf2db03908b9121805af3c76e3ac2d0759e199f (diff) |
[SCTP]: sctp_make_op_error() annotations.
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: David S. Miller <davem@davemloft.net>
-rw-r--r-- | include/net/sctp/sm.h | 2 | ||||
-rw-r--r-- | net/sctp/sm_make_chunk.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/include/net/sctp/sm.h b/include/net/sctp/sm.h index a3b0e1e896f0..a7b935a76a62 100644 --- a/include/net/sctp/sm.h +++ b/include/net/sctp/sm.h | |||
@@ -236,7 +236,7 @@ struct sctp_chunk *sctp_make_heartbeat_ack(const struct sctp_association *, | |||
236 | const size_t paylen); | 236 | const size_t paylen); |
237 | struct sctp_chunk *sctp_make_op_error(const struct sctp_association *, | 237 | struct sctp_chunk *sctp_make_op_error(const struct sctp_association *, |
238 | const struct sctp_chunk *chunk, | 238 | const struct sctp_chunk *chunk, |
239 | __u16 cause_code, | 239 | __be16 cause_code, |
240 | const void *payload, | 240 | const void *payload, |
241 | size_t paylen); | 241 | size_t paylen); |
242 | 242 | ||
diff --git a/net/sctp/sm_make_chunk.c b/net/sctp/sm_make_chunk.c index 37472be16014..a3bde93bd8a3 100644 --- a/net/sctp/sm_make_chunk.c +++ b/net/sctp/sm_make_chunk.c | |||
@@ -951,7 +951,7 @@ nodata: | |||
951 | /* Create an Operation Error chunk. */ | 951 | /* Create an Operation Error chunk. */ |
952 | struct sctp_chunk *sctp_make_op_error(const struct sctp_association *asoc, | 952 | struct sctp_chunk *sctp_make_op_error(const struct sctp_association *asoc, |
953 | const struct sctp_chunk *chunk, | 953 | const struct sctp_chunk *chunk, |
954 | __u16 cause_code, const void *payload, | 954 | __be16 cause_code, const void *payload, |
955 | size_t paylen) | 955 | size_t paylen) |
956 | { | 956 | { |
957 | struct sctp_chunk *retval; | 957 | struct sctp_chunk *retval; |