]> git.baikalelectronics.ru Git - kernel.git/commit
net: hns3: Modify parameter type from int to bool in set_gro_en
authorYonglong Liu <liuyonglong@huawei.com>
Sat, 2 Feb 2019 14:39:28 +0000 (22:39 +0800)
committerDavid S. Miller <davem@davemloft.net>
Sat, 2 Feb 2019 16:24:08 +0000 (08:24 -0800)
commitd4194d904dbbfa55ba9b57faa736a8bc5b81b2af
tree0ac9c3db0a8b4c499f64406004a5c1427a49b76b
parent78dd3c29930ee47929a3f053483b01614b213c24
net: hns3: Modify parameter type from int to bool in set_gro_en

The second parameter to the hook function set_gro_en is always passed in
true/false, so modify it's type from int to bool.

Signed-off-by: Yonglong Liu <liuyonglong@huawei.com>
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/hnae3.h
drivers/net/ethernet/hisilicon/hns3/hns3_enet.c
drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c
drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_main.c