[IPV4]: inet_addr_type() annotations

argument and inferred net-endian variables in callers annotated.

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
Al Viro
2006-09-26 22:17:51 -07:00
committed by David S. Miller
parent e4883014f4
commit fd68322209
7 changed files with 9 additions and 9 deletions

View File

@@ -246,7 +246,7 @@ int inet6_bind(struct socket *sock, struct sockaddr *uaddr, int addr_len)
struct sock *sk = sock->sk;
struct inet_sock *inet = inet_sk(sk);
struct ipv6_pinfo *np = inet6_sk(sk);
__u32 v4addr = 0;
__be32 v4addr = 0;
unsigned short snum;
int addr_type = 0;
int err = 0;