]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitc77f7d61841cf9ccbacd978ab760cfff4a9dbd9a
treeb7b79a8d71c757545a40e77535dc9557b21d1b93
parent97dbc5456890c7b3a09037a69a6c2c79c0c8f3c0
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