diff options
author | Vinod Koul <[email protected]> | 2019-04-22 15:15:32 +0530 |
---|---|---|
committer | David S. Miller <[email protected]> | 2019-04-22 21:52:18 -0700 |
commit | b561af36b1841088552464cdc3f6371d92f17710 (patch) | |
tree | d8aa4d9c1928a47d30b51bb50190d3e8428d6a50 /tools/perf/scripts/python/export-to-sqlite.py | |
parent | acced9d2b4dffaca5ce2228d70e6074965d54a27 (diff) |
net: stmmac: move stmmac_check_ether_addr() to driver probe
stmmac_check_ether_addr() checks the MAC address and assigns one in
driver open(). In many cases when we create slave netdevice, the dev
addr is inherited from master but the master dev addr maybe NULL at
that time, so move this call to driver probe so that address is
always valid.
Signed-off-by: Xiaofei Shen <[email protected]>
Tested-by: Xiaofei Shen <[email protected]>
Signed-off-by: Sneh Shah <[email protected]>
Signed-off-by: Vinod Koul <[email protected]>
Reviewed-by: Andrew Lunn <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions