RDMA/hns: Correct the type of variables participating in the shift operation
authorXinhao Liu <liuxinhao5@hisilicon.com>
Fri, 19 Nov 2021 14:02:03 +0000 (22:02 +0800)
committerJason Gunthorpe <jgg@nvidia.com>
Fri, 19 Nov 2021 18:13:18 +0000 (14:13 -0400)
commitd147583ec8d009e456d794a7e33fe95e920a6535
treeaec3e56504d4e938327f93fee80a81aef1349925
parent3aecfc3802d835fc47a317f9d8b01a5c918d8336
RDMA/hns: Correct the type of variables participating in the shift operation

The type of the variable participating in the shift operation should be an
unsigned type instead of a signed type.

Link: https://lore.kernel.org/r/20211119140208.40416-5-liangwenpeng@huawei.com
Signed-off-by: Xinhao Liu <liuxinhao5@hisilicon.com>
Signed-off-by: Wenpeng Liang <liangwenpeng@huawei.com>
Signed-off-by: Jason Gunthorpe <jgg@nvidia.com>
drivers/infiniband/hw/hns/hns_roce_device.h
drivers/infiniband/hw/hns/hns_roce_hw_v2.c
drivers/infiniband/hw/hns/hns_roce_mr.c
drivers/infiniband/hw/hns/hns_roce_qp.c