projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c739969
)
nvme: Use admin command effects for admin commands
author
Keith Busch
<keith.busch@intel.com>
Thu, 12 Apr 2018 15:16:14 +0000
(09:16 -0600)
committer
Jens Axboe
<axboe@kernel.dk>
Thu, 12 Apr 2018 15:58:27 +0000
(09:58 -0600)
Signed-off-by: Keith Busch <keith.busch@intel.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
drivers/nvme/host/core.c
patch
|
blob
|
history
diff --git
a/drivers/nvme/host/core.c
b/drivers/nvme/host/core.c
index b09940c556d05b57d21b323be68fbd39bd16aa5b..aac3c1d2b2a2b69f9b9b34572ae49fae7d447010 100644
(file)
--- a/
drivers/nvme/host/core.c
+++ b/
drivers/nvme/host/core.c
@@
-1102,7
+1102,7
@@
static u32 nvme_passthru_start(struct nvme_ctrl *ctrl, struct nvme_ns *ns,
}
if (ctrl->effects)
- effects = le32_to_cpu(ctrl->effects->
io
cs[opcode]);
+ effects = le32_to_cpu(ctrl->effects->
a
cs[opcode]);
else
effects = nvme_known_admin_effects(opcode);