]> 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)
commit551440bcb130023fd0341e999513a49ab9978978
tree2458edfe42da827f66f27d2e7021bcb3b18d6650
parent72a359fe9d3534c9d6e349d29fc82b3bee78b865
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