diff options
author | Jakub Kicinski <kuba@kernel.org> | 2021-10-05 01:01:40 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2021-10-05 13:38:39 +0200 |
commit | 3f6cffb8604b537e3d7ea040d7f4368689638eaf (patch) | |
tree | 4d820d2f07d0a55702e5f31e0ca31f14e8da7052 /lib | |
parent | dsa: tag_dsa: Fix mask for trunked packets (diff) | |
download | linux-3f6cffb8604b537e3d7ea040d7f4368689638eaf.tar.xz linux-3f6cffb8604b537e3d7ea040d7f4368689638eaf.zip |
etherdevice: use __dev_addr_set()
Andrew points out that eth_hw_addr_set() replaces memcpy()
calls so we can't use ether_addr_copy() which assumes
both arguments are 2-bytes aligned.
Reported-by: Andrew Lunn <andrew@lunn.ch>
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'lib')
0 files changed, 0 insertions, 0 deletions