summaryrefslogtreecommitdiff
path: root/drivers/net/ethernet/smsc
diff options
context:
space:
mode:
authorJeremy Linton <jeremy.linton@arm.com>2015-08-19 11:46:42 -0500
committerDavid S. Miller <davem@davemloft.net>2015-08-20 14:36:25 -0700
commit2f710a3a8089c12dfe3c0cf04bb0a3dee3dea019 (patch)
treeb02f63ac4753c1b56296de90dca2e000169e0ff5 /drivers/net/ethernet/smsc
parentef09242f3997f5fa063bcfa918d3ce4c4485376c (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>
Diffstat (limited to 'drivers/net/ethernet/smsc')
0 files changed, 0 insertions, 0 deletions