From: Xinhao Liu <liuxinhao5@xxxxxxxxxxxxx> The parameter names should be the same when the function is declared and defined. Signed-off-by: Xinhao Liu <liuxinhao5@xxxxxxxxxxxxx> Signed-off-by: Wenpeng Liang <liangwenpeng@xxxxxxxxxx> --- providers/hns/hns_roce_u.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/providers/hns/hns_roce_u.h b/providers/hns/hns_roce_u.h index d5963941..1616db9f 100644 --- a/providers/hns/hns_roce_u.h +++ b/providers/hns/hns_roce_u.h @@ -368,9 +368,9 @@ int hns_roce_u_free_pd(struct ibv_pd *pd); struct ibv_mr *hns_roce_u_reg_mr(struct ibv_pd *pd, void *addr, size_t length, uint64_t hca_va, int access); -int hns_roce_u_rereg_mr(struct verbs_mr *mr, int flags, struct ibv_pd *pd, +int hns_roce_u_rereg_mr(struct verbs_mr *vmr, int flags, struct ibv_pd *pd, void *addr, size_t length, int access); -int hns_roce_u_dereg_mr(struct verbs_mr *mr); +int hns_roce_u_dereg_mr(struct verbs_mr *vmr); struct ibv_mw *hns_roce_u_alloc_mw(struct ibv_pd *pd, enum ibv_mw_type type); int hns_roce_u_dealloc_mw(struct ibv_mw *mw); -- 2.33.0