net: hns3: modify some unsuitable type declaration
authorGuojia Liao <liaoguojia@huawei.com>
Mon, 20 Apr 2020 02:17:31 +0000 (10:17 +0800)
committerDavid S. Miller <davem@davemloft.net>
Mon, 20 Apr 2020 19:49:18 +0000 (12:49 -0700)
commit84944d5c4797df7aa0b2677283db5064a2560633
treeb7b79a8d71c757545a40e77535dc9557b21d1b93
parentf84f6a8634f3424244e91fc3fd460152dae689cf
net: hns3: modify some unsuitable type declaration

In hclge_set_fd_key_config(), parameter 'stage' should be
as enum HCLGE_FD_STAGE, and in hclge_config_key(), 'tuple_size'
should be type u8, also simplify unsigned int with u32 for 'i'.

Signed-off-by: Guojia Liao <liaoguojia@huawei.com>
Signed-off-by: Huazhong Tan <tanhuazhong@huawei.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c