Skip to content
Commit 2f710a3a authored by Jeremy Linton's avatar Jeremy Linton Committed by David S. Miller
Browse files

device property: Add ETH_ALEN check, update comments.



This patch adds MAC address length check back into
the device_get_mac_addr() function before calling
is_valid_ether_addr() similar to the way the OF
routine does it.

Update the comments for the two new functions.

Signed-off-by: default avatarJeremy Linton <jeremy.linton@arm.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent ef09242f
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment