mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-29 03:01:39 -04:00
[IPV4]: annotate struct in_ifaddr
ifa_local, ifa_address, ifa_mask, ifa_broadcast and ifa_anycast are net-endian. Annotated them and variables that are inferred to be net-endian. Signed-off-by: Al Viro <[email protected]> Signed-off-by: David S. Miller <[email protected]>
This commit is contained in:
parent
6d85c10abe
commit
a144ea4b7a
14 changed files with 27 additions and 27 deletions
|
|
@ -201,7 +201,7 @@ static void dev_ip_addr(void *d, char *buf, char *bin_buf)
|
|||
struct net_device *dev = d;
|
||||
struct in_device *ip = dev->ip_ptr;
|
||||
struct in_ifaddr *in;
|
||||
u32 addr;
|
||||
__be32 addr;
|
||||
|
||||
if ((ip == NULL) || ((in = ip->ifa_list) == NULL)) {
|
||||
printk(KERN_WARNING "Device not assigned an IP address!\n");
|
||||
|
|
|
|||
Loading…
Reference in a new issue