diff options
author | Al Viro <viro@zeniv.linux.org.uk> | 2006-09-27 01:17:51 -0400 |
---|---|---|
committer | David S. Miller <davem@sunset.davemloft.net> | 2006-09-28 21:01:07 -0400 |
commit | fd6832220974809141b3981e380b78690bba8911 (patch) | |
tree | 60fcf8bb0912b3b2eb91836540fdbb83265ef8e4 /net/ipv6 | |
parent | e4883014f48f8c17c17a2526cb5cb6e17c5f94e7 (diff) |
[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>
Diffstat (limited to 'net/ipv6')
-rw-r--r-- | net/ipv6/af_inet6.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/ipv6/af_inet6.c b/net/ipv6/af_inet6.c index bf6e8aff19d4..e94eccb99707 100644 --- a/net/ipv6/af_inet6.c +++ b/net/ipv6/af_inet6.c | |||
@@ -246,7 +246,7 @@ int inet6_bind(struct socket *sock, struct sockaddr *uaddr, int addr_len) | |||
246 | struct sock *sk = sock->sk; | 246 | struct sock *sk = sock->sk; |
247 | struct inet_sock *inet = inet_sk(sk); | 247 | struct inet_sock *inet = inet_sk(sk); |
248 | struct ipv6_pinfo *np = inet6_sk(sk); | 248 | struct ipv6_pinfo *np = inet6_sk(sk); |
249 | __u32 v4addr = 0; | 249 | __be32 v4addr = 0; |
250 | unsigned short snum; | 250 | unsigned short snum; |
251 | int addr_type = 0; | 251 | int addr_type = 0; |
252 | int err = 0; | 252 | int err = 0; |