diff options
author | 2020-02-15 11:35:31 +0000 | |
---|---|---|
committer | 2020-02-15 11:35:31 +0000 | |
commit | 300a229b0dc750cb19de3f3d780071beb215d711 (patch) | |
tree | f7318572ffe36061ace0fcf4933149e10545d29d | |
parent | get path to resolv.conf from resolv.h (diff) | |
download | wireguard-openbsd-300a229b0dc750cb19de3f3d780071beb215d711.tar.xz wireguard-openbsd-300a229b0dc750cb19de3f3d780071beb215d711.zip |
Don't touch the phase bit at nvme_poll_done(). This makes dumpsys()
work with nvme.
ok jmatthew
-rw-r--r-- | sys/dev/ic/nvme.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/ic/nvme.c b/sys/dev/ic/nvme.c index a44c3e5df8f..1d5a7e5a469 100644 --- a/sys/dev/ic/nvme.c +++ b/sys/dev/ic/nvme.c @@ -1,4 +1,4 @@ -/* $OpenBSD: nvme.c,v 1.65 2020/02/05 16:29:29 krw Exp $ */ +/* $OpenBSD: nvme.c,v 1.66 2020/02/15 11:35:31 yasuoka Exp $ */ /* * Copyright (c) 2014 David Gwynne <dlg@openbsd.org> @@ -953,8 +953,8 @@ nvme_poll_done(struct nvme_softc *sc, struct nvme_ccb *ccb, { struct nvme_poll_state *state = ccb->ccb_cookie; - SET(cqe->flags, htole16(NVME_CQE_PHASE)); state->c = *cqe; + SET(state->c.flags, htole16(NVME_CQE_PHASE)); } void |