]> git.baikalelectronics.ru Git - kernel.git/commit
net: hns3: modify variable type in hns3_nic_reuse_page
authorHuazhong Tan <tanhuazhong@huawei.com>
Thu, 23 Aug 2018 03:37:16 +0000 (11:37 +0800)
committerDavid S. Miller <davem@davemloft.net>
Thu, 23 Aug 2018 04:55:01 +0000 (21:55 -0700)
commitd457cda441a2cff8a3995de55431bbe1be4aa980
tree48719ff49feb3f4c427d7e68b4b65cdd0ae7886c
parentf4afc61a41f48a9d3d6c652130e59e41756b1672
net: hns3: modify variable type in hns3_nic_reuse_page

'truesize' is supposed to be u32, not int, so fix it.

Signed-off-by: Huazhong tan <tanhuazhong@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