RDMA/hns: Fix the bug while use multi-hop of pbl
authorLijun Ou <oulijun@huawei.com>
Sat, 8 Dec 2018 10:40:09 +0000 (18:40 +0800)
committerJason Gunthorpe <jgg@mellanox.com>
Tue, 11 Dec 2018 19:04:06 +0000 (12:04 -0700)
commit4af07f01f7a787ba5158352b98c9e3cb74995a1c
tree50f48e96a229bf96150c3fa55bf02ebd88f3dd22
parent233673e422de70d6ba32e7b41dd75e47f036d03b
RDMA/hns: Fix the bug while use multi-hop of pbl

It will prevent multiply overflow when defines the pbl for u64 type.

Signed-off-by: Lijun Ou <oulijun@huawei.com>
Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
drivers/infiniband/hw/hns/hns_roce_mr.c