projects
/
GitHub
/
moto-9609
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
370ae6e
)
nvme-rdma: call ops->reg_read64 instead of nvmf_reg_read64
author
Sagi Grimberg
<sagi@grimberg.me>
Mon, 10 Jul 2017 06:22:39 +0000
(09:22 +0300)
committer
Sagi Grimberg
<sagi@grimberg.me>
Mon, 28 Aug 2017 20:00:36 +0000
(23:00 +0300)
To make the nvme_rdma_configure_admin_queue generic in preparation of
moving it to common code.
Signed-off-by: Sagi Grimberg <sagi@grimberg.me>
Signed-off-by: Christoph Hellwig <hch@lst.de>
drivers/nvme/host/rdma.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/nvme/host/rdma.c
b/drivers/nvme/host/rdma.c
index 1bf7c3a55c969cec3bd9d6df93a9f64854fb43b3..b51e7df63df53f0b60bf74d560f58b5f7267f26a 100644
(file)
--- a/
drivers/nvme/host/rdma.c
+++ b/
drivers/nvme/host/rdma.c
@@
-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,