Thread (30 messages) 30 messages, 7 authors, 2012-10-20

[PATCH net-next 14/21] llc_if.h: Convert is_<foo>_ether_addr uses to eth_addr_<foo>

flat view
STALE5126d

From: Joe Perches <joe@perches.com>
Date: 2012-10-19 04:15:43
Also in: lkml
Subsystem: llc (802.2), networking [general], the rest · Maintainers: "David S. Miller", Eric Dumazet, Jakub Kicinski, Paolo Abeni, Linus Torvalds

Convert the old ether_addr tests to eth_addr_<foo>.
Adds api consistency.

Signed-off-by: Joe Perches <joe@perches.com>
---
 include/net/llc_if.h |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/include/net/llc_if.h b/include/net/llc_if.h
index b595a00..cce2942 100644
--- a/include/net/llc_if.h
+++ b/include/net/llc_if.h
@@ -71,12 +71,12 @@
  */
 static inline int llc_mac_null(const u8 *mac)
 {
-	return is_zero_ether_addr(mac);
+	return eth_addr_zero(mac);
 }
 
 static inline int llc_mac_multicast(const u8 *mac)
 {
-	return is_multicast_ether_addr(mac);
+	return eth_addr_multicast(mac);
 }
 /**
  *	llc_mac_match - determines if two mac addresses are the same
-- 
1.7.8.111.gad25c.dirty
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help