aboutsummaryrefslogtreecommitdiffstats
path: root/arch/xtensa/platform-iss
diff options
context:
space:
mode:
authorAl Viro <viro@zeniv.linux.org.uk>2006-09-28 21:00:55 -0400
committerDavid S. Miller <davem@davemloft.net>2006-09-28 21:00:55 -0400
commita144ea4b7a13087081ab5402fa9ad0bcfd249e67 (patch)
treea0452a546c231d85a89e8920c26e5dec4595ba54 /arch/xtensa/platform-iss
parent6d85c10abe840e98cbac673202fe7cc9ada2180c (diff)
[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 <viro@zeniv.linux.org.uk> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'arch/xtensa/platform-iss')
-rw-r--r--arch/xtensa/platform-iss/network.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/xtensa/platform-iss/network.c b/arch/xtensa/platform-iss/network.c
index d96164e602fe..15d64414bd60 100644
--- a/arch/xtensa/platform-iss/network.c
+++ b/arch/xtensa/platform-iss/network.c
@@ -201,7 +201,7 @@ static void dev_ip_addr(void *d, char *buf, char *bin_buf)
201 struct net_device *dev = d; 201 struct net_device *dev = d;
202 struct in_device *ip = dev->ip_ptr; 202 struct in_device *ip = dev->ip_ptr;
203 struct in_ifaddr *in; 203 struct in_ifaddr *in;
204 u32 addr; 204 __be32 addr;
205 205
206 if ((ip == NULL) || ((in = ip->ifa_list) == NULL)) { 206 if ((ip == NULL) || ((in = ip->ifa_list) == NULL)) {
207 printk(KERN_WARNING "Device not assigned an IP address!\n"); 207 printk(KERN_WARNING "Device not assigned an IP address!\n");