commit | 2f710a3a8089c12dfe3c0cf04bb0a3dee3dea019 | [log] [tgz] |
---|---|---|
author | Jeremy Linton <jeremy.linton@arm.com> | Wed Aug 19 11:46:42 2015 -0500 |
committer | David S. Miller <davem@davemloft.net> | Thu Aug 20 14:36:25 2015 -0700 |
tree | b02f63ac4753c1b56296de90dca2e000169e0ff5 | |
parent | ef09242f3997f5fa063bcfa918d3ce4c4485376c [diff] |
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: Jeremy Linton <jeremy.linton@arm.com> Signed-off-by: David S. Miller <davem@davemloft.net>