summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
Diffstat (limited to 'sys')
-rw-r--r--sys/dev/ic/nvme.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/ic/nvme.c b/sys/dev/ic/nvme.c
index 11bfcc7e43c..8212174552b 100644
--- a/sys/dev/ic/nvme.c
+++ b/sys/dev/ic/nvme.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: nvme.c,v 1.18 2016/04/13 11:48:38 dlg Exp $ */
+/* $OpenBSD: nvme.c,v 1.19 2016/04/13 11:51:56 dlg Exp $ */
/*
* Copyright (c) 2014 David Gwynne <dlg@openbsd.org>
@@ -386,7 +386,7 @@ nvme_poll(struct nvme_softc *sc, struct nvme_queue *q, struct nvme_ccb *ccb,
flags = lemtoh16(&state.c.flags);
- return (NVME_CQE_SCT(flags) | NVME_CQE_SC(flags));
+ return (flags & ~NVME_CQE_PHASE);
}
void