]> git.baikalelectronics.ru Git - kernel.git/commit
net: hns3: fix an issue for hclgevf_ae_get_hdev
authorPeng Li <lipeng321@huawei.com>
Wed, 30 Jan 2019 20:55:50 +0000 (04:55 +0800)
committerDavid S. Miller <davem@davemloft.net>
Wed, 30 Jan 2019 22:50:03 +0000 (14:50 -0800)
commitae2ff9556f1baff8d9c115d346559389d71bca93
tree5083d2e08b1c1ae17210a44db7029541cde6446c
parent2e1ea0503af43f358c7375b29c1905bf49977c65
net: hns3: fix an issue for hclgevf_ae_get_hdev

HNS3 VF driver support NIC and Roce, hdev stores NIC
handle and Roce handle, should use correct parameter for
container_of.

Signed-off-by: Peng Li <lipeng321@huawei.com>
Signed-off-by: Huazhong Tan <tanhuazhong@huawei.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_main.c