enc28j60: Use ether_addr_copy() in enc28j60_set_mac_address()
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Tue, 19 Mar 2019 18:49:23 +0000 (20:49 +0200)
committerDavid S. Miller <davem@davemloft.net>
Tue, 19 Mar 2019 21:59:31 +0000 (14:59 -0700)
commitb4f7a6f964fbef348e0e656e4b7d8488b217450f
tree46678de2cb18f66b85550f8b95e523beb8985cf3
parent41e48c3d8070eba700f570c600c33c95486c17c3
enc28j60: Use ether_addr_copy() in enc28j60_set_mac_address()

Use ether_addr_copy() instead of memcpy() to copy the mac address.

Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/microchip/enc28j60.c