[IPV4]: inet_select_addr() annotations

argument and return value are net-endian.  Annotated function and inferred
net-endian variables in callers.

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 21:27:54 -07:00
committed by David S. Miller
parent 011a926108
commit a61ced5d1c
7 changed files with 10 additions and 10 deletions

View File

@@ -876,9 +876,9 @@ out:
return done;
}
u32 inet_select_addr(const struct net_device *dev, u32 dst, int scope)
__be32 inet_select_addr(const struct net_device *dev, __be32 dst, int scope)
{
u32 addr = 0;
__be32 addr = 0;
struct in_device *in_dev;
rcu_read_lock();