net: hns3: fix VF dump register issue
authorJian Shen <shenjian15@huawei.com>
Wed, 30 Jan 2019 20:55:42 +0000 (04:55 +0800)
committerDavid S. Miller <davem@davemloft.net>
Wed, 30 Jan 2019 22:50:03 +0000 (14:50 -0800)
commit8e1445a653c9f9a51fca6f80b8df82b523e1c4ba
treecc19fea778fd94a5e8a6fc0fac1beab11ae0b36a
parent1a6e552df33c0dca4fecd0a179833d1b5233012a
net: hns3: fix VF dump register issue

In original codes, the .get_regs_len and .get_regs were missed
assigned. This patch fixes it.

Fixes: 1600c3e5f23e ("net: hns3: Support "ethtool -d" for HNS3 VF driver")
Signed-off-by: Jian Shen <shenjian15@huawei.com>
Signed-off-by: Huazhong Tan <tanhuazhong@huawei.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/hisilicon/hns3/hns3_ethtool.c