From a4eded947942e63e286db06128e6e0042011543a Mon Sep 17 00:00:00 2001 From: Ian Moffett Date: Fri, 12 Jul 2024 23:48:14 -0400 Subject: kernel: nvme: Init namespaces TAILQ Signed-off-by: Ian Moffett --- sys/dev/ic/nvme.c | 1 + 1 file changed, 1 insertion(+) 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) { -- cgit v1.2.3