]> 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)
commit4fcc2564e03f2acc1f9aced8a99d5a177927991a
treee8bc25df9299e6144fa6785e5fdf2a3f5ceb436c
parent4184b670f914aadf2018422d8c8dc1d12c207e9e
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