Page MenuHomeFreeBSD

D41315.diff
No OneTemporary

D41315.diff

diff --git a/sys/dev/nvme/nvme_sim.c b/sys/dev/nvme/nvme_sim.c
--- a/sys/dev/nvme/nvme_sim.c
+++ b/sys/dev/nvme/nvme_sim.c
@@ -69,7 +69,9 @@
/*
* Let the periph know the completion, and let it sort out what
- * it means. Make our best guess, though for the status code.
+ * it means. Report an error or success based on SC and SCT.
+ * We do not try to fetch additional data from the error log,
+ * though maybe we should in the future.
*/
memcpy(&ccb->nvmeio.cpl, cpl, sizeof(*cpl));
ccb->ccb_h.status &= ~CAM_SIM_QUEUED;

File Metadata

Mime Type
text/plain
Expires
Thu, Apr 23, 4:20 PM (19 h, 21 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
32033148
Default Alt Text
D41315.diff (542 B)

Event Timeline