diff options
author | Ian Moffett <ian@osmora.org> | 2024-07-12 23:48:14 -0400 |
---|---|---|
committer | Ian Moffett <ian@osmora.org> | 2024-07-12 23:48:14 -0400 |
commit | a4eded947942e63e286db06128e6e0042011543a (patch) | |
tree | f8a2ce899b62659308f2d98171d186f3fa6820db /sys/dev/ic | |
parent | d8ec9ca94a9e7c716b946f54273bf4bdca385a78 (diff) |
kernel: nvme: Init namespaces TAILQ
Signed-off-by: Ian Moffett <ian@osmora.org>
Diffstat (limited to 'sys/dev/ic')
-rw-r--r-- | sys/dev/ic/nvme.c | 1 |
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) { |