ndev->queues is a pointer to pointer, but the allocation wrongly requests sizeof(struct nvme_queue). Fix it. Signed-off-by: Bin Meng <bmeng.cn@gmail.com> |
||
---|---|---|
.. | ||
Kconfig | ||
Makefile | ||
nvme_show.c | ||
nvme-uclass.c | ||
nvme.c | ||
nvme.h |
ndev->queues is a pointer to pointer, but the allocation wrongly requests sizeof(struct nvme_queue). Fix it. Signed-off-by: Bin Meng <bmeng.cn@gmail.com> |
||
---|---|---|
.. | ||
Kconfig | ||
Makefile | ||
nvme_show.c | ||
nvme-uclass.c | ||
nvme.c | ||
nvme.h |