summaryrefslogtreecommitdiff
path: root/sys/dev/pci
diff options
context:
space:
mode:
authorJoshua Stein <jcs@cvs.openbsd.org>2024-11-19 02:31:36 +0000
committerJoshua Stein <jcs@cvs.openbsd.org>2024-11-19 02:31:36 +0000
commit3aa95df347c6d7fcfc50fa57f1b086d7029bad96 (patch)
tree17165946719f1d68bb445eb06d1ab14361b734ed /sys/dev/pci
parent87781e0df6276f27093470d66e6ddb5868a92811 (diff)
kill our kids before we die, or there will be panic
dlg concurs
Diffstat (limited to 'sys/dev/pci')
-rw-r--r--sys/dev/pci/nvme_pci.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/pci/nvme_pci.c b/sys/dev/pci/nvme_pci.c
index d827b5405da..7ad4daffb9f 100644
--- a/sys/dev/pci/nvme_pci.c
+++ b/sys/dev/pci/nvme_pci.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: nvme_pci.c,v 1.12 2024/09/18 00:03:19 jmatthew Exp $ */
+/* $OpenBSD: nvme_pci.c,v 1.13 2024/11/19 02:31:35 jcs Exp $ */
/*
* Copyright (c) 2014 David Gwynne <dlg@openbsd.org>
@@ -131,7 +131,7 @@ unmap:
int
nvme_pci_detach(struct device *self, int flags)
{
- return (0);
+ return config_detach_children(self, flags);
}
int