Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 583e7281 authored by Huazhong Tan's avatar Huazhong Tan Committed by David S. Miller
Browse files

net: hns3: modify variable type in hns3_nic_reuse_page



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

Signed-off-by: default avatarHuazhong tan <tanhuazhong@huawei.com>
Signed-off-by: default avatarSalil Mehta <salil.mehta@huawei.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 27a59593
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -2019,7 +2019,8 @@ static void hns3_nic_reuse_page(struct sk_buff *skb, int i,
				struct hns3_desc_cb *desc_cb)
{
	struct hns3_desc *desc;
	int truesize, size;
	u32 truesize;
	int size;
	int last_offset;
	bool twobufs;