[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:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user