net: hns3: Fixes the ether address copy with appropriate API
commitfbbb1536b220eb4f4f95cbceae6579489a8adad5
authorSalil Mehta <salil.mehta@huawei.com>
Tue, 19 Sep 2017 16:17:14 +0000 (19 17:17 +0100)
committerDavid S. Miller <davem@davemloft.net>
Tue, 19 Sep 2017 23:06:49 +0000 (19 16:06 -0700)
tree2458edfe42da827f66f27d2e7021bcb3b18d6650
parent139e8792537b327252a9676591a78e6408d50a85
net: hns3: Fixes the ether address copy with appropriate API

This patch replaces the ethernet address copy instance with more
appropriate ether_addr_copy() function.

Fixes: 6427264ef330 ("net: hns3: Add HNS3 Acceleration Engine &
Compatibility Layer Support")
Signed-off-by: Salil Mehta <salil.mehta@huawei.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c