Commit ac4a5b52 authored by Huazhong Tan's avatar Huazhong Tan Committed by David S. Miller

net: hns: modify variable type in hns_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 3ed614dc
...@@ -512,7 +512,8 @@ static void hns_nic_reuse_page(struct sk_buff *skb, int i, ...@@ -512,7 +512,8 @@ static void hns_nic_reuse_page(struct sk_buff *skb, int i,
struct hnae_desc_cb *desc_cb) struct hnae_desc_cb *desc_cb)
{ {
struct hnae_desc *desc; struct hnae_desc *desc;
int truesize, size; u32 truesize;
int size;
int last_offset; int last_offset;
bool twobufs; bool twobufs;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment