Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 09fdc23b authored by Sagi Grimberg's avatar Sagi Grimberg
Browse files

nvme-rdma: call ops->reg_read64 instead of nvmf_reg_read64



To make the nvme_rdma_configure_admin_queue generic in preparation of
moving it to common code.

Signed-off-by: default avatarSagi Grimberg <sagi@grimberg.me>
Signed-off-by: default avatarChristoph Hellwig <hch@lst.de>
parent 370ae6e4
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -777,7 +777,7 @@ static int nvme_rdma_configure_admin_queue(struct nvme_rdma_ctrl *ctrl,
	if (error)
		goto out_cleanup_queue;

	error = nvmf_reg_read64(&ctrl->ctrl, NVME_REG_CAP,
	error = ctrl->ctrl.ops->reg_read64(&ctrl->ctrl, NVME_REG_CAP,
			&ctrl->ctrl.cap);
	if (error) {
		dev_err(ctrl->ctrl.device,