[{"id":1762136,"web_url":"http://patchwork.ozlabs.org/comment/1762136/","msgid":"<20170902152320.GQ17058@bill-the-cat>","list_archive_url":null,"date":"2017-09-02T15:23:20","subject":"Re: [U-Boot] [PATCH 1/3] nvme: Fix wrong ndev->queues memset","submitter":{"id":65875,"url":"http://patchwork.ozlabs.org/api/people/65875/","name":"Tom Rini","email":"trini@konsulko.com"},"content":"On Sat, Sep 02, 2017 at 08:15:35AM -0700, Bin Meng wrote:\n\n> memset() was given a sizeof(NVME_Q_NUM * sizeof(struct nvme_queue *)\n> to clear, which is wrong.\n> \n> Reported-by: Coverity (CID: 166729)\n> Signed-off-by: Bin Meng <bmeng.cn@gmail.com>\n\nReviewed-by: Tom Rini <trini@konsulko.com>","headers":{"Return-Path":"<u-boot-bounces@lists.denx.de>","X-Original-To":"incoming@patchwork.ozlabs.org","Delivered-To":"patchwork-incoming@bilbo.ozlabs.org","Authentication-Results":["ozlabs.org;\n\tspf=none (mailfrom) smtp.mailfrom=lists.denx.de\n\t(client-ip=81.169.180.215; helo=lists.denx.de;\n\tenvelope-from=u-boot-bounces@lists.denx.de;\n\treceiver=<UNKNOWN>)","ozlabs.org;\n\tdkim=fail reason=\"signature verification failed\" (1024-bit key;\n\tunprotected) header.d=konsulko.com header.i=@konsulko.com\n\theader.b=\"C7vNUcYd\"; dkim-atps=neutral"],"Received":["from lists.denx.de (dione.denx.de [81.169.180.215])\n\tby ozlabs.org (Postfix) with ESMTP id 3xl0HF2wkGz9sRY\n\tfor <incoming@patchwork.ozlabs.org>;\n\tSun,  3 Sep 2017 01:23:05 +1000 (AEST)","by lists.denx.de (Postfix, from userid 105)\n\tid 19E12C21F24; Sat,  2 Sep 2017 15:23:02 +0000 (UTC)","from lists.denx.de (localhost [IPv6:::1])\n\tby lists.denx.de (Postfix) with ESMTP id BEF42C21DD9;\n\tSat,  2 Sep 2017 15:22:59 +0000 (UTC)","by lists.denx.de (Postfix, from userid 105)\n\tid 49C09C21DD9; Sat,  2 Sep 2017 15:22:58 +0000 (UTC)","from mail-yw0-f176.google.com (mail-yw0-f176.google.com\n\t[209.85.161.176])\n\tby lists.denx.de (Postfix) with ESMTPS id B718CC21DAD\n\tfor <u-boot@lists.denx.de>; Sat,  2 Sep 2017 15:22:57 +0000 (UTC)","by mail-yw0-f176.google.com with SMTP id t188so11484070ywb.1\n\tfor <u-boot@lists.denx.de>; Sat, 02 Sep 2017 08:22:57 -0700 (PDT)","from bill-the-cat ([2606:a000:140b:dc:2c3d:b0b9:86a2:6bdc])\n\tby smtp.gmail.com with ESMTPSA id\n\ti186sm709803ywe.56.2017.09.02.08.22.55\n\t(version=TLS1_2 cipher=AES128-SHA bits=128/128);\n\tSat, 02 Sep 2017 08:22:55 -0700 (PDT)"],"X-Spam-Checker-Version":"SpamAssassin 3.4.0 (2014-02-07) on lists.denx.de","X-Spam-Level":"","X-Spam-Status":"No, score=-0.0 required=5.0 tests=RCVD_IN_DNSWL_NONE,\n\tRCVD_IN_MSPIKE_H3, RCVD_IN_MSPIKE_WL,\n\tT_DKIM_INVALID autolearn=unavailable\n\tautolearn_force=no version=3.4.0","DKIM-Signature":"v=1; a=rsa-sha256; c=relaxed/relaxed; d=konsulko.com;\n\ts=google; \n\th=date:from:to:cc:subject:message-id:references:mime-version\n\t:content-disposition:in-reply-to:user-agent;\n\tbh=8tRxG2Z56L22wxzNQl8EYwNS9jjBjDT0OB6GEj13af4=;\n\tb=C7vNUcYdyhy71JPV9gXAV7ohjngc9oqyyt4WM41T9rzMJ2GDgyIWooqW8Nk7cNhD1h\n\tFVYd70BwsjELyfBmCiYfj9+7rYtpGbnWhn/tyC3FCs/+3mQcBM0v+j5J/N6I9vc7Ox76\n\tI5KUn7i55iLtQP5YxYIDzbva7+qjJ1bKE4UkE=","X-Google-DKIM-Signature":"v=1; a=rsa-sha256; c=relaxed/relaxed;\n\td=1e100.net; s=20161025;\n\th=x-gm-message-state:date:from:to:cc:subject:message-id:references\n\t:mime-version:content-disposition:in-reply-to:user-agent;\n\tbh=8tRxG2Z56L22wxzNQl8EYwNS9jjBjDT0OB6GEj13af4=;\n\tb=bkXmC+M5h9JLRds/yTuMlTpVeeWdNYawq94v/HpDaQ23y7ls/l+F/iAMU4YY+fyxgV\n\t8+fxd6HH46KGkODQVOpnFOlsNt6Aqn48P/IRGwC+JKIymXhilOZu8z5yUQtBC2xy3gQa\n\tdkjNe8AZgzeAc+VrxX37cZ9XyJc2vZzg+v50fnlAV0SWgtjIyrVFrtSVXumuQb0G0dTc\n\tYoXqFT5pl0GdbmTrbt989pfcBsgmJqgevnLCM8OTQ0kx8k/+TAWq7NefTF8IkQeaPMQV\n\tGi5JDriTPyICh9Uz3UuNmOsIERALaNFk/sNc+4+6BqmYMZYNPxEXPo5L8KLDw6+u/u86\n\t8qBQ==","X-Gm-Message-State":"AHPjjUiexHP508UjMMe/VDoOFbmAvv8BMl+eEg2JETzkqmRbHU75RDrt\n\tT3iWVtB6yIUgpfUB","X-Google-Smtp-Source":"ADKCNb73bHZSYBKBgW2cPsrTgwzhhWMU30eCS7RYAVGpVAr578xQd+FmXv7yzKmitzQwADk6UohGpA==","X-Received":"by 10.129.216.67 with SMTP id n3mr2090055ywl.215.1504365776482; \n\tSat, 02 Sep 2017 08:22:56 -0700 (PDT)","Date":"Sat, 2 Sep 2017 11:23:20 -0400","From":"Tom Rini <trini@konsulko.com>","To":"Bin Meng <bmeng.cn@gmail.com>","Message-ID":"<20170902152320.GQ17058@bill-the-cat>","References":"<1504365337-32519-1-git-send-email-bmeng.cn@gmail.com>","MIME-Version":"1.0","In-Reply-To":"<1504365337-32519-1-git-send-email-bmeng.cn@gmail.com>","User-Agent":"Mutt/1.5.21 (2010-09-15)","Cc":"U-Boot Mailing List <u-boot@lists.denx.de>","Subject":"Re: [U-Boot] [PATCH 1/3] nvme: Fix wrong ndev->queues memset","X-BeenThere":"u-boot@lists.denx.de","X-Mailman-Version":"2.1.18","Precedence":"list","List-Id":"U-Boot discussion <u-boot.lists.denx.de>","List-Unsubscribe":"<https://lists.denx.de/options/u-boot>,\n\t<mailto:u-boot-request@lists.denx.de?subject=unsubscribe>","List-Archive":"<http://lists.denx.de/pipermail/u-boot/>","List-Post":"<mailto:u-boot@lists.denx.de>","List-Help":"<mailto:u-boot-request@lists.denx.de?subject=help>","List-Subscribe":"<https://lists.denx.de/listinfo/u-boot>,\n\t<mailto:u-boot-request@lists.denx.de?subject=subscribe>","Content-Type":"multipart/mixed;\n\tboundary=\"===============2406835332451800838==\"","Errors-To":"u-boot-bounces@lists.denx.de","Sender":"\"U-Boot\" <u-boot-bounces@lists.denx.de>"}},{"id":1762372,"web_url":"http://patchwork.ozlabs.org/comment/1762372/","msgid":"<20170904004219.GJ17058@bill-the-cat>","list_archive_url":null,"date":"2017-09-04T00:42:19","subject":"Re: [U-Boot] [U-Boot,1/3] nvme: Fix wrong ndev->queues memset","submitter":{"id":65875,"url":"http://patchwork.ozlabs.org/api/people/65875/","name":"Tom Rini","email":"trini@konsulko.com"},"content":"On Sat, Sep 02, 2017 at 08:15:35AM -0700, Bin Meng wrote:\n\n> memset() was given a sizeof(NVME_Q_NUM * sizeof(struct nvme_queue *)\n> to clear, which is wrong.\n> \n> Reported-by: Coverity (CID: 166729)\n> Signed-off-by: Bin Meng <bmeng.cn@gmail.com>\n> Reviewed-by: Tom Rini <trini@konsulko.com>\n\nApplied to u-boot/master, thanks!","headers":{"Return-Path":"<u-boot-bounces@lists.denx.de>","X-Original-To":"incoming@patchwork.ozlabs.org","Delivered-To":"patchwork-incoming@bilbo.ozlabs.org","Authentication-Results":["ozlabs.org;\n\tspf=none (mailfrom) smtp.mailfrom=lists.denx.de\n\t(client-ip=81.169.180.215; helo=lists.denx.de;\n\tenvelope-from=u-boot-bounces@lists.denx.de;\n\treceiver=<UNKNOWN>)","ozlabs.org;\n\tdkim=fail reason=\"signature verification failed\" (1024-bit key;\n\tunprotected) header.d=konsulko.com header.i=@konsulko.com\n\theader.b=\"uPQDiI4b\"; dkim-atps=neutral"],"Received":["from lists.denx.de (dione.denx.de [81.169.180.215])\n\tby ozlabs.org (Postfix) with ESMTP id 3xlrkC0fHjz9s7c\n\tfor <incoming@patchwork.ozlabs.org>;\n\tMon,  4 Sep 2017 10:45:55 +1000 (AEST)","by lists.denx.de (Postfix, from userid 105)\n\tid D2DA8C21D7D; Mon,  4 Sep 2017 00:44:38 +0000 (UTC)","from lists.denx.de (localhost [IPv6:::1])\n\tby lists.denx.de (Postfix) with ESMTP id 44DF2C21E09;\n\tMon,  4 Sep 2017 00:43:13 +0000 (UTC)","by lists.denx.de (Postfix, from userid 105)\n\tid 846EEC21E91; Mon,  4 Sep 2017 00:41:57 +0000 (UTC)","from mail-yw0-f170.google.com (mail-yw0-f170.google.com\n\t[209.85.161.170])\n\tby lists.denx.de (Postfix) with ESMTPS id E97E3C21DC5\n\tfor <u-boot@lists.denx.de>; Mon,  4 Sep 2017 00:41:53 +0000 (UTC)","by mail-yw0-f170.google.com with SMTP id c85so13175549ywa.0\n\tfor <u-boot@lists.denx.de>; Sun, 03 Sep 2017 17:41:53 -0700 (PDT)","from bill-the-cat ([2606:a000:140b:dc:91cb:39a9:fe91:e1c8])\n\tby smtp.gmail.com with ESMTPSA id\n\tl21sm2235353ywa.15.2017.09.03.17.41.51\n\t(version=TLS1_2 cipher=AES128-SHA bits=128/128);\n\tSun, 03 Sep 2017 17:41:52 -0700 (PDT)"],"X-Spam-Checker-Version":"SpamAssassin 3.4.0 (2014-02-07) on lists.denx.de","X-Spam-Level":"","X-Spam-Status":"No, score=-0.0 required=5.0 tests=RCVD_IN_DNSWL_NONE,\n\tRCVD_IN_MSPIKE_H3, RCVD_IN_MSPIKE_WL,\n\tT_DKIM_INVALID autolearn=unavailable\n\tautolearn_force=no version=3.4.0","DKIM-Signature":"v=1; a=rsa-sha256; c=relaxed/relaxed; d=konsulko.com;\n\ts=google; \n\th=date:from:to:cc:subject:message-id:references:mime-version\n\t:content-disposition:in-reply-to:user-agent;\n\tbh=FdbVwz5CauDU1wJhEqXomogpKuYaSUgHFm4A0MTvB/M=;\n\tb=uPQDiI4bG5Z3PRq6hOkyrqzAVCFIJV3Ce/5deFL6eUgC/M1pI187/VAxU/D/Db61nb\n\tf69MqX6k8NZIMwO5DV4Pa07r4lFl8vp+VhmNBhuDOpSOB21D8z0Dkfb1GZlul4aGS+jC\n\tV2LFWJ6fZUakFcQ/Py17W+AjrEYRFrwSq2+/o=","X-Google-DKIM-Signature":"v=1; a=rsa-sha256; c=relaxed/relaxed;\n\td=1e100.net; s=20161025;\n\th=x-gm-message-state:date:from:to:cc:subject:message-id:references\n\t:mime-version:content-disposition:in-reply-to:user-agent;\n\tbh=FdbVwz5CauDU1wJhEqXomogpKuYaSUgHFm4A0MTvB/M=;\n\tb=OMT+aWSMe13IZe6nAsivUxO72EtwXktptwmhaOKruWO8UdX2nZ2yruRJSOXVcMdsXE\n\t7Co1jcHAOrISUEko7sMRjcK5kCpvz7316cBgD/JpbGT+AtHeM1qIki1+Ga/D+sIvDkQT\n\ta0wrPbekq7WQmmMqScVvCJBnHjahZNUU2yVmt2TjIj3r/IMOHYaJMlL34p71C/4f97u8\n\tvN1OEKnH8EmBNsMHNsdmidazAn1u0NMNh0f2KO71fr64AfX16bbQPwZ5qfs/rIb+fMSg\n\toJlLFcDiyWDu3OL12vnhf3GnPXYnng8huqvujJR35aJH5XQ9X9dRgL95Rxsd4C5BsXCG\n\t0OGg==","X-Gm-Message-State":"AHPjjUgB1ImHyXAQm4Rs8rK+qOcvJbTcJnPYQba72FIC/7LEfZRLopvN\n\tmByUPnMC0b2xrmCN","X-Google-Smtp-Source":"ADKCNb4s5+fNmfDNQZqNSdYfSRQfCfBD7ZQbOOi14aYjS3aFCDFuG1oXPP/xdTaCrNW+o8GtEKGfTw==","X-Received":"by 10.37.13.2 with SMTP id 2mr6818459ybn.2.1504485712821;\n\tSun, 03 Sep 2017 17:41:52 -0700 (PDT)","Date":"Sun, 3 Sep 2017 20:42:19 -0400","From":"Tom Rini <trini@konsulko.com>","To":"Bin Meng <bmeng.cn@gmail.com>","Message-ID":"<20170904004219.GJ17058@bill-the-cat>","References":"<1504365337-32519-1-git-send-email-bmeng.cn@gmail.com>","MIME-Version":"1.0","In-Reply-To":"<1504365337-32519-1-git-send-email-bmeng.cn@gmail.com>","User-Agent":"Mutt/1.5.21 (2010-09-15)","Cc":"U-Boot Mailing List <u-boot@lists.denx.de>","Subject":"Re: [U-Boot] [U-Boot,1/3] nvme: Fix wrong ndev->queues memset","X-BeenThere":"u-boot@lists.denx.de","X-Mailman-Version":"2.1.18","Precedence":"list","List-Id":"U-Boot discussion <u-boot.lists.denx.de>","List-Unsubscribe":"<https://lists.denx.de/options/u-boot>,\n\t<mailto:u-boot-request@lists.denx.de?subject=unsubscribe>","List-Archive":"<http://lists.denx.de/pipermail/u-boot/>","List-Post":"<mailto:u-boot@lists.denx.de>","List-Help":"<mailto:u-boot-request@lists.denx.de?subject=help>","List-Subscribe":"<https://lists.denx.de/listinfo/u-boot>,\n\t<mailto:u-boot-request@lists.denx.de?subject=subscribe>","Content-Type":"multipart/mixed;\n\tboundary=\"===============8115510977633287174==\"","Errors-To":"u-boot-bounces@lists.denx.de","Sender":"\"U-Boot\" <u-boot-bounces@lists.denx.de>"}}]