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

From: Joe Perches
Date: Fri Oct 19 2012 - 00:15:34 EST


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

Signed-off-by: Joe Perches <joe@xxxxxxxxxxx>
---
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

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/