]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitcde31fc17866d46d67818d8980ff95673cbc1c13
treeaec3e56504d4e938327f93fee80a81aef1349925
parent985b26559fd6c411095d56f300f7e4b8b3d3c537
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