Messages in this thread Patch in this message |  | | From | Joe Perches <> | | Subject | [PATCH net-next 10/21] s390: Convert is_<foo>_ether_addr uses to eth_addr_<foo> | | Date | Thu, 18 Oct 2012 21:14:54 -0700 |
| |
Convert the old ether_addr tests to eth_addr_<foo>. Adds api consistency.
Signed-off-by: Joe Perches <joe@perches.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
|  |