]> git.sur5r.net Git - u-boot/commit
nvme: Fix ndev->queues allocation
authorBin Meng <bmeng.cn@gmail.com>
Tue, 22 Aug 2017 15:15:08 +0000 (08:15 -0700)
committerTom Rini <trini@konsulko.com>
Mon, 28 Aug 2017 11:17:11 +0000 (07:17 -0400)
commit099c2015b02352df9c829acbdc3d8e6e683011a5
tree0d13e5e7ca9943095db67ce3561c1169b72f1f9e
parente5dc2d266539786730eab6cac3c3e26dcb8abc87
nvme: Fix ndev->queues allocation

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>
drivers/nvme/nvme.c