Commit 3dbe86566ed262dae3b5472b9360cb5b65d42716
Committed by
David S. Miller
1 parent
e1857ea28d
[SCTP]: Annotate ->supported_addrs().
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk> Signed-off-by: David S. Miller <davem@davemloft.net>
Showing 4 changed files with 4 additions and 4 deletions Side-by-side Diff
include/net/sctp/structs.h
... | ... | @@ -587,7 +587,7 @@ |
587 | 587 | struct sctp_sock *); |
588 | 588 | int (*bind_verify) (struct sctp_sock *, union sctp_addr *); |
589 | 589 | int (*send_verify) (struct sctp_sock *, union sctp_addr *); |
590 | - int (*supported_addrs)(const struct sctp_sock *, __u16 *); | |
590 | + int (*supported_addrs)(const struct sctp_sock *, __be16 *); | |
591 | 591 | struct sock *(*create_accept_sk) (struct sock *sk, |
592 | 592 | struct sctp_association *asoc); |
593 | 593 | void (*addr_v4map) (struct sctp_sock *, union sctp_addr *); |
net/sctp/ipv6.c
... | ... | @@ -853,7 +853,7 @@ |
853 | 853 | * Returns number of addresses supported. |
854 | 854 | */ |
855 | 855 | static int sctp_inet6_supported_addrs(const struct sctp_sock *opt, |
856 | - __u16 *types) | |
856 | + __be16 *types) | |
857 | 857 | { |
858 | 858 | types[0] = SCTP_PARAM_IPV4_ADDRESS; |
859 | 859 | types[1] = SCTP_PARAM_IPV6_ADDRESS; |
net/sctp/protocol.c
net/sctp/sm_make_chunk.c