]> git.baikalelectronics.ru Git - kernel.git/commit
net: hns: modify variable type in hns_nic_reuse_page
authorHuazhong Tan <tanhuazhong@huawei.com>
Thu, 23 Aug 2018 03:10:11 +0000 (11:10 +0800)
committerDavid S. Miller <davem@davemloft.net>
Thu, 23 Aug 2018 04:47:36 +0000 (21:47 -0700)
commit368ce51e6c09fc3026f37775947180c2dc23e2e2
treee8bc25df9299e6144fa6785e5fdf2a3f5ceb436c
parent0f68e4e24efe7cbae19f24a6442b393d5ba6a847
net: hns: modify variable type in hns_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/hns/hns_enet.c