]> Git Repo - u-boot.git/commit
nvme: Fix wrong ndev->queues memset
authorBin Meng <[email protected]>
Sat, 2 Sep 2017 15:15:35 +0000 (08:15 -0700)
committerTom Rini <[email protected]>
Sun, 3 Sep 2017 19:30:32 +0000 (15:30 -0400)
commit37d46870b31724b71f593de3eda274e9ad8026d4
treede32c2bb5ab6349c60e4156d075e338ff5c20cb0
parent5eae466ea1ebd79c8033d4686242d5971a86bf74
nvme: Fix wrong ndev->queues memset

memset() was given a sizeof(NVME_Q_NUM * sizeof(struct nvme_queue *)
to clear, which is wrong.

Reported-by: Coverity (CID: 166729)
Signed-off-by: Bin Meng <[email protected]>
Reviewed-by: Tom Rini <[email protected]>
drivers/nvme/nvme.c
This page took 0.032004 seconds and 4 git commands to generate.