commit | ceca777dabc6ea25e13fae6498c27e187a69be0e | [log] [tgz] |
---|---|---|
author | Jakub Kicinski <kuba@kernel.org> | Mon Oct 04 18:11:14 2021 -0700 |
committer | David S. Miller <davem@davemloft.net> | Tue Oct 05 11:35:56 2021 +0100 |
tree | 38c3cb7d3b5514544272e3b5a8a7bda3bcb07138 | |
parent | fb8ece514d388a2300346f23ffd8bcf8cf3a1d50 [diff] |
ethernet: ehea: add missing cast We need to cast the pointer, unlike memcpy() eth_hw_addr_set() does not take void *. The driver already casts &port->mac_addr to u8 * in other places. Reported-by: Stephen Rothwell <sfr@canb.auug.org.au> Fixes: a96d317fb1a3 ("ethernet: use eth_hw_addr_set()") Signed-off-by: Jakub Kicinski <kuba@kernel.org> Signed-off-by: David S. Miller <davem@davemloft.net>