[PATCH net-next 19/21] parisc: Convert ipv4_is_<foo> uses to ipv4_addr_<foo>

From
Joe Perches <joe@perches.com>
Date
2012-10-19 04:16:29
Also in
lkml
Reply to
Joe Perches, 2012-10-19
Use the new ipv4_addr_<foo> functions to be consistent with
the ipv6_addr_<foo> and eth_addr_<foo> style.

Signed-off-by: Joe Perches <joe@perches.com>
---
 drivers/parisc/led.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/drivers/parisc/led.c b/drivers/parisc/led.c
index f2f501e..8951fd1 100644
--- a/drivers/parisc/led.c
+++ b/drivers/parisc/led.c
@@ -369,7 +369,7 @@ static __inline__ int led_get_net_activity(void)
 	    struct in_device *in_dev = __in_dev_get_rcu(dev);
 	    if (!in_dev || !in_dev->ifa_list)
 		continue;
-	    if (ipv4_is_loopback(in_dev->ifa_list->ifa_local))
+	    if (ipv4_addr_loopback(in_dev->ifa_list->ifa_local))
 		continue;
 	    stats = dev_get_stats(dev, &temp);
 	    rx_total += stats->rx_packets;
-- 
1.7.8.111.gad25c.dirty
Thread (30 messages) 30 messages, 7 authors, last reply 2012-10-20
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help