lkml.org 
[lkml]   [2012]   [Oct]   [19]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
From
Subject[PATCH net-next 14/21] llc_if.h: Convert is_<foo>_ether_addr uses to eth_addr_<foo>
Date
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


\
 
 \ /
  Last update: 2012-10-19 07:01    [from the cache]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and my Meterkast|Read the blog