diff options
author | Xinhao Liu <liuxinhao5@hisilicon.com> | 2021-11-19 22:02:03 +0800 |
---|---|---|
committer | Jason Gunthorpe <jgg@nvidia.com> | 2021-11-19 14:13:18 -0400 |
commit | d147583ec8d009e456d794a7e33fe95e920a6535 (patch) | |
tree | aec3e56504d4e938327f93fee80a81aef1349925 /drivers/infiniband/hw/hns/hns_roce_hw_v2.c | |
parent | RDMA/hns: Replace tab with space in the right-side comments (diff) | |
download | linux-dev-d147583ec8d009e456d794a7e33fe95e920a6535.tar.xz linux-dev-d147583ec8d009e456d794a7e33fe95e920a6535.zip |
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>
Diffstat (limited to '')
-rw-r--r-- | drivers/infiniband/hw/hns/hns_roce_hw_v2.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/infiniband/hw/hns/hns_roce_hw_v2.c b/drivers/infiniband/hw/hns/hns_roce_hw_v2.c index 42bbb4278273..ae4f6fa8ad71 100644 --- a/drivers/infiniband/hw/hns/hns_roce_hw_v2.c +++ b/drivers/infiniband/hw/hns/hns_roce_hw_v2.c @@ -5817,7 +5817,7 @@ static void hns_roce_v2_int_mask_enable(struct hns_roce_dev *hr_dev, roce_write(hr_dev, ROCEE_VF_ABN_INT_CFG_REG, enable_flag); } -static void hns_roce_v2_destroy_eqc(struct hns_roce_dev *hr_dev, int eqn) +static void hns_roce_v2_destroy_eqc(struct hns_roce_dev *hr_dev, u32 eqn) { struct device *dev = hr_dev->dev; int ret; |