diff options
author | Bin Meng <bmeng.cn@gmail.com> | 2017-09-02 08:15:35 -0700 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2017-09-03 15:30:32 -0400 |
commit | 37d46870b31724b71f593de3eda274e9ad8026d4 (patch) | |
tree | de32c2bb5ab6349c60e4156d075e338ff5c20cb0 /drivers/spi | |
parent | 5eae466ea1ebd79c8033d4686242d5971a86bf74 (diff) | |
download | u-boot-37d46870b31724b71f593de3eda274e9ad8026d4.tar.gz u-boot-37d46870b31724b71f593de3eda274e9ad8026d4.tar.xz u-boot-37d46870b31724b71f593de3eda274e9ad8026d4.zip |
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 <bmeng.cn@gmail.com>
Reviewed-by: Tom Rini <trini@konsulko.com>
Diffstat (limited to 'drivers/spi')
0 files changed, 0 insertions, 0 deletions