net: hns3: Fix misleading parameter name
authorJian Shen <shenjian15@huawei.com>
Thu, 19 Jul 2018 14:47:04 +0000 (15:47 +0100)
committerDavid S. Miller <davem@davemloft.net>
Sat, 21 Jul 2018 15:44:23 +0000 (08:44 -0700)
commitef0c5009619c90646211a576f280339e4151e39d
treeea756af7f62d89539e3c7f18d7ee65bd09afb5f9
parentc79301d8d985a3f40c233bd744338eafdc57e51a
net: hns3: Fix misleading parameter name

The input parameter "dev" of hns3_irq_handle() is indeed
used as a tqp vector, it is misleadin.

The struct member "flag" is used to indicate ring type,
so rename it.

Signed-off-by: Jian Shen <shenjian15@huawei.com>
Signed-off-by: Peng Li <lipeng321@huawei.com>
Signed-off-by: Salil Mehta <salil.mehta@huawei.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/hisilicon/hns3/hns3_enet.c
drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_cmd.c
drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_cmd.h