[SCTP]: Trivial sctp endianness annotations.
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
@@ -585,7 +585,7 @@ static inline int ipver2af(__u8 ipver)
|
||||
}
|
||||
|
||||
/* Convert from an address parameter type to an address family. */
|
||||
static inline int param_type2af(__u16 type)
|
||||
static inline int param_type2af(__be16 type)
|
||||
{
|
||||
switch (type) {
|
||||
case SCTP_PARAM_IPV4_ADDRESS:
|
||||
|
||||
Reference in New Issue
Block a user