RDMA/hns: Replace custom macros HNS_ROCE_ALIGN_UP
authorWenpeng Liang <liangwenpeng@huawei.com>
Mon, 6 Jan 2020 12:21:15 +0000 (20:21 +0800)
committerJason Gunthorpe <jgg@mellanox.com>
Tue, 7 Jan 2020 20:26:33 +0000 (16:26 -0400)
commitd800c93bacc7a9c381b5fa9c333fb821ba9df9df
tree34ebbcf283ac9693f68ed074843fe35637b43dfe
parent0c53426c7c1a4ad1b2fc647a7085b5d3e7b49025
RDMA/hns: Replace custom macros HNS_ROCE_ALIGN_UP

HNS_ROCE_ALIGN_UP can be replaced by round_up() which is defined in
kernel.h.

Link: https://lore.kernel.org/r/1578313276-29080-7-git-send-email-liweihang@huawei.com
Signed-off-by: Wenpeng Liang <liangwenpeng@huawei.com>
Signed-off-by: Weihang Li <liweihang@huawei.com>
Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
drivers/infiniband/hw/hns/hns_roce_device.h
drivers/infiniband/hw/hns/hns_roce_qp.c