Merge tag 'v6.0' into rdma.git for-next
[linux-2.6-microblaze.git] / drivers / infiniband / hw / hns / hns_roce_main.c
index 53c53c2..dcf8968 100644 (file)
@@ -734,7 +734,7 @@ static int hns_roce_init_hem(struct hns_roce_dev *hr_dev)
                ret = hns_roce_init_hem_table(hr_dev, &hr_dev->qpc_timer_table,
                                              HEM_TYPE_QPC_TIMER,
                                              hr_dev->caps.qpc_timer_entry_sz,
-                                             hr_dev->caps.num_qpc_timer);
+                                             hr_dev->caps.qpc_timer_bt_num);
                if (ret) {
                        dev_err(dev,
                                "failed to init QPC timer memory, aborting.\n");