net: hns3: use lower_32_bits and upper_32_bits
authorHuazhong Tan <tanhuazhong@huawei.com>
Thu, 28 Jun 2018 04:12:29 +0000 (12:12 +0800)
committerDavid S. Miller <davem@davemloft.net>
Fri, 29 Jun 2018 02:06:34 +0000 (11:06 +0900)
commitab68059e15d7a05d162716fc0b3ca04b7df46c65
treed09e0d75355d29001c295bb3ecdcc48dee383134
parent541a7bd6bf23a1f4b5a1353b175279e0ba407871
net: hns3: use lower_32_bits and upper_32_bits

MACRO lower_32_bits and upper_32_bits can help to get bits 0-31
and bits 32-63 of a number, so just use it.

Signed-off-by: Huazhong Tan <tanhuazhong@huawei.com>
Signed-off-by: Peng Li <lipeng321@huawei.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_cmd.c