diff options
author | Jens Axboe <axboe@kernel.dk> | 2023-01-26 11:43:33 -0700 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2023-01-26 11:43:33 -0700 |
commit | db3ba974c2bc895ba39689a364cb7a49c0fe779f (patch) | |
tree | 2c32ea1700593f449b0652042ef652108b388b81 /drivers/nvme/host/core.c | |
parent | 8e4ff684762b6503db45e8906e258faee080c336 (diff) | |
parent | 85eee6341abb81ac6a35062ffd5c3029eb53be6b (diff) | |
download | linux-db3ba974c2bc895ba39689a364cb7a49c0fe779f.tar.bz2 |
Merge tag 'nvme-6.2-2023-01-26' of git://git.infradead.org/nvme into block-6.2
Pull NVMe fixes from Christoph:
"nvme fixes for Linux 6.2
- flush initial scan_work for async probe (Keith Busch)
- fix passthrough csi check (Keith Busch)
- fix nvme-fc initialization order (Ross Lagerwall)"
* tag 'nvme-6.2-2023-01-26' of git://git.infradead.org/nvme:
nvme: fix passthrough csi check
nvme-pci: flush initial scan_work for async probe
nvme-fc: fix initialization order
Diffstat (limited to 'drivers/nvme/host/core.c')
-rw-r--r-- | drivers/nvme/host/core.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/nvme/host/core.c b/drivers/nvme/host/core.c index d307ae4d8a57..2990ed331a1a 100644 --- a/drivers/nvme/host/core.c +++ b/drivers/nvme/host/core.c @@ -1093,7 +1093,7 @@ u32 nvme_command_effects(struct nvme_ctrl *ctrl, struct nvme_ns *ns, u8 opcode) if (ns) { if (ns->head->effects) effects = le32_to_cpu(ns->head->effects->iocs[opcode]); - if (ns->head->ids.csi == NVME_CAP_CSS_NVM) + if (ns->head->ids.csi == NVME_CSI_NVM) effects |= nvme_known_nvm_effects(opcode); if (effects & ~(NVME_CMD_EFFECTS_CSUPP | NVME_CMD_EFFECTS_LBCC)) dev_warn_once(ctrl->device, |