diff options
Diffstat (limited to 'sys/dev')
-rw-r--r-- | sys/dev/ic/nvme.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/ic/nvme.c b/sys/dev/ic/nvme.c index d96d254..76127f2 100644 --- a/sys/dev/ic/nvme.c +++ b/sys/dev/ic/nvme.c @@ -408,7 +408,7 @@ nvme_init_ctrl(struct nvme_bar *bar) uint32_t config; uint16_t mqes; uint8_t *nsids; - struct nvme_ctrl ctrl = {0}; + struct nvme_ctrl ctrl = { .bar = bar }; struct nvme_queue *adminq; struct nvme_id *id; |