aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sys/dev/ic/nvme.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/dev/ic/nvme.c b/sys/dev/ic/nvme.c
index 69794ec..d96d254 100644
--- a/sys/dev/ic/nvme.c
+++ b/sys/dev/ic/nvme.c
@@ -509,6 +509,7 @@ nvme_init(void)
return -ENODEV;
}
+ TAILQ_INIT(&namespaces);
nvme_init_pci();
if ((error = pci_map_bar(nvme_dev, 0, (void *)&bar)) != 0) {