dpaa_eth: Use random MAC address when none is given
authorMadalin Bucur <madalin.bucur@oss.nxp.com>
Thu, 5 Mar 2020 17:08:58 +0000 (19:08 +0200)
committerDavid S. Miller <davem@davemloft.net>
Mon, 9 Mar 2020 05:02:54 +0000 (22:02 -0700)
commitcbb961ca271e18d60cec6e48e32216148f74ee35
tree3c628037209e5bb9e95817da108ebb50ffef3ee8
parentf3353b99022583cc17142146cdc4dd6a770fbc7f
dpaa_eth: Use random MAC address when none is given

If there is no valid MAC address in the device tree, use a random
MAC address.

Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Signed-off-by: Madalin Bucur <madalin.bucur@oss.nxp.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/freescale/dpaa/dpaa_eth.c