diff options
author | Tobias Klauser <tklauser@distanz.ch> | 2017-03-17 11:52:15 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2017-03-22 01:16:56 +0100 |
commit | de6b08fd82087778c579dc3f3c28bb1c878a993a (patch) | |
tree | 84e2fff26c7bfe057c8064da55bf7e31ecb496a2 /Documentation/devicetree/bindings/net/stmmac.txt | |
parent | Merge branch 'mlxsw-cleanups' (diff) | |
download | linux-de6b08fd82087778c579dc3f3c28bb1c878a993a.tar.xz linux-de6b08fd82087778c579dc3f3c28bb1c878a993a.zip |
net: ethoc: Use ether_addr_copy()
Use ether_addr_copy() instead of memcpy() to set netdev->dev_addr (which
is 2-byte aligned).
Signed-off-by: Tobias Klauser <tklauser@distanz.ch>
Reviewed-by: Thierry Reding <thierry.reding@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'Documentation/devicetree/bindings/net/stmmac.txt')
0 files changed, 0 insertions, 0 deletions