[U-Boot] [U-Boot,1/3] nvme: Fix wrong ndev->queues memset

Tom Rini trini at konsulko.com
Mon Sep 4 00:42:19 UTC 2017


On Sat, Sep 02, 2017 at 08:15:35AM -0700, Bin Meng wrote:

> 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 at gmail.com>
> Reviewed-by: Tom Rini <trini at konsulko.com>

Applied to u-boot/master, thanks!

-- 
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: Digital signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20170903/d862bdbb/attachment.sig>


More information about the U-Boot mailing list