diff options
author | Al Viro <viro@zeniv.linux.org.uk> | 2006-09-27 04:27:54 (GMT) |
---|---|---|
committer | David S. Miller <davem@sunset.davemloft.net> | 2006-09-29 00:54:08 (GMT) |
commit | a61ced5d1c2e773620d7855ea2009d770c10a6e6 (patch) | |
tree | ca9d49774eb4740a60e5338d4da51af1c8c862d6 /net/ipv4/devinet.c | |
parent | 011a92610826bdeec4b80ab423958d4c512639f6 (diff) | |
download | linux-fsl-qoriq-a61ced5d1c2e773620d7855ea2009d770c10a6e6.tar.xz |
[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>
Diffstat (limited to 'net/ipv4/devinet.c')
-rw-r--r-- | net/ipv4/devinet.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/net/ipv4/devinet.c b/net/ipv4/devinet.c index 8e8d1f1..bffbbec 100644 --- a/net/ipv4/devinet.c +++ b/net/ipv4/devinet.c @@ -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(); |