]> asedeno.scripts.mit.edu Git - linux.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)
commit1731be4c73bb4d5bbfb4b15aaab3f183ccba6fe6
tree0ac9c3db0a8b4c499f64406004a5c1427a49b76b
parent6241e71e7207102ffc733991f7a00f74098d7da0
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