svn commit: r356506 - head/sys/dev/nvme
Alexander Motin
mav at FreeBSD.org
Wed Jan 8 18:26:24 UTC 2020
Author: mav
Date: Wed Jan 8 18:26:23 2020
New Revision: 356506
URL: https://svnweb.freebsd.org/changeset/base/356506
Log:
Fix copy-paste bug in HMB free code.
MFC after: 2 weeks
X-MFC-with: r356474
Modified:
head/sys/dev/nvme/nvme_ctrlr.c
Modified: head/sys/dev/nvme/nvme_ctrlr.c
==============================================================================
--- head/sys/dev/nvme/nvme_ctrlr.c Wed Jan 8 17:54:44 2020 (r356505)
+++ head/sys/dev/nvme/nvme_ctrlr.c Wed Jan 8 18:26:23 2020 (r356506)
@@ -854,7 +854,7 @@ nvme_ctrlr_hmb_free(struct nvme_controller *ctrlr)
}
if (ctrlr->hmb_desc_tag) {
bus_dma_tag_destroy(ctrlr->hmb_desc_tag);
- ctrlr->hmb_tag = NULL;
+ ctrlr->hmb_desc_tag = NULL;
}
for (i = 0; i < ctrlr->hmb_nchunks; i++) {
hmbc = &ctrlr->hmb_chunks[i];
More information about the svn-src-head
mailing list