[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <b59b6bd165426ab02eaca59c8eeb11efcb302bff.1350618011.git.joe@perches.com>
Date: Thu, 18 Oct 2012 21:14:54 -0700
From: Joe Perches <joe@...ches.com>
To: netdev@...r.kernel.org
Cc: linux-kernel@...r.kernel.org
Subject: [PATCH net-next 10/21] s390: Convert is_<foo>_ether_addr uses to eth_addr_<foo>
Convert the old ether_addr tests to eth_addr_<foo>.
Adds api consistency.
Signed-off-by: Joe Perches <joe@...ches.com>
---
drivers/s390/net/qeth_l2_main.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers/s390/net/qeth_l2_main.c b/drivers/s390/net/qeth_l2_main.c
index e67e025..58324dc 100644
--- a/drivers/s390/net/qeth_l2_main.c
+++ b/drivers/s390/net/qeth_l2_main.c
@@ -227,9 +227,9 @@ static inline int qeth_l2_get_cast_type(struct qeth_card *card,
{
if (card->info.type == QETH_CARD_TYPE_OSN)
return RTN_UNSPEC;
- if (is_broadcast_ether_addr(skb->data))
+ if (eth_addr_broadcast(skb->data))
return RTN_BROADCAST;
- if (is_multicast_ether_addr(skb->data))
+ if (eth_addr_multicast(skb->data))
return RTN_MULTICAST;
return RTN_UNSPEC;
}
--
1.7.8.111.gad25c.dirty
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists