]> git.karo-electronics.de Git - karo-tx-linux.git/commit
device property: Add ETH_ALEN check, update comments.
authorJeremy Linton <jeremy.linton@arm.com>
Wed, 19 Aug 2015 16:46:42 +0000 (11:46 -0500)
committerDavid S. Miller <davem@davemloft.net>
Thu, 20 Aug 2015 21:36:25 +0000 (14:36 -0700)
commit2f710a3a8089c12dfe3c0cf04bb0a3dee3dea019
treeb02f63ac4753c1b56296de90dca2e000169e0ff5
parentef09242f3997f5fa063bcfa918d3ce4c4485376c
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>
drivers/base/property.c