]> git.baikalelectronics.ru Git - kernel.git/commit
net: hns3: Fixes the ether address copy with appropriate API
authorSalil Mehta <salil.mehta@huawei.com>
Tue, 19 Sep 2017 16:17:14 +0000 (17:17 +0100)
committerDavid S. Miller <davem@davemloft.net>
Tue, 19 Sep 2017 23:06:49 +0000 (16:06 -0700)
commit10db0b286c7b632adb991a5398c073520b0282c0
tree2458edfe42da827f66f27d2e7021bcb3b18d6650
parent6a14496e02e6d4daca875c62cfa50c2b01eed649
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