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

[PATCH net-next 12/21] uwb: Convert is_<foo>_ether_addr uses to eth_addr_<foo>

flat view
STALE5107d

From: Joe Perches <joe@perches.com>
Date: 2012-10-19 04:15:28
Also in: lkml
Subsystem: the rest · Maintainer: Linus Torvalds

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

Signed-off-by: Joe Perches <joe@perches.com>
---
 drivers/uwb/address.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/drivers/uwb/address.c b/drivers/uwb/address.c
index 8739c4f..ba4e4cf 100644
--- a/drivers/uwb/address.c
+++ b/drivers/uwb/address.c
@@ -343,7 +343,7 @@ static ssize_t uwb_rc_mac_addr_store(struct device *dev,
 		result = -EINVAL;
 		goto out;
 	}
-	if (is_multicast_ether_addr(addr.data)) {
+	if (eth_addr_multicast(addr.data)) {
 		dev_err(&rc->uwb_dev.dev, "refusing to set multicast "
 			"MAC address %s\n", buf);
 		result = -EINVAL;
-- 
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