Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/patches/73975/?format=api
http://patchwork.dpdk.org/api/patches/73975/?format=api", "web_url": "http://patchwork.dpdk.org/project/dpdk/patch/20200714110305.73911-1-chenbo.xia@intel.com/", "project": { "id": 1, "url": "http://patchwork.dpdk.org/api/projects/1/?format=api", "name": "DPDK", "link_name": "dpdk", "list_id": "dev.dpdk.org", "list_email": "dev@dpdk.org", "web_url": "http://core.dpdk.org", "scm_url": "git://dpdk.org/dpdk", "webscm_url": "http://git.dpdk.org/dpdk", "list_archive_url": "https://inbox.dpdk.org/dev", "list_archive_url_format": "https://inbox.dpdk.org/dev/{}", "commit_url_format": "" }, "msgid": "<20200714110305.73911-1-chenbo.xia@intel.com>", "list_archive_url": "https://inbox.dpdk.org/dev/20200714110305.73911-1-chenbo.xia@intel.com", "date": "2020-07-14T11:03:05", "name": "[v1] net/virtio-user: fix uninitialized variable", "commit_ref": null, "pull_url": null, "state": "accepted", "archived": true, "hash": "84bfe9170153427c12ab642d667a5402fbe37c12", "submitter": { "id": 1276, "url": "http://patchwork.dpdk.org/api/people/1276/?format=api", "name": "Chenbo Xia", "email": "chenbo.xia@intel.com" }, "delegate": { "id": 2642, "url": "http://patchwork.dpdk.org/api/users/2642/?format=api", "username": "mcoquelin", "first_name": "Maxime", "last_name": "Coquelin", "email": "maxime.coquelin@redhat.com" }, "mbox": "http://patchwork.dpdk.org/project/dpdk/patch/20200714110305.73911-1-chenbo.xia@intel.com/mbox/", "series": [ { "id": 11008, "url": "http://patchwork.dpdk.org/api/series/11008/?format=api", "web_url": "http://patchwork.dpdk.org/project/dpdk/list/?series=11008", "date": "2020-07-14T11:03:05", "name": "[v1] net/virtio-user: fix uninitialized variable", "version": 1, "mbox": "http://patchwork.dpdk.org/series/11008/mbox/" } ], "comments": "http://patchwork.dpdk.org/api/patches/73975/comments/", "check": "success", "checks": "http://patchwork.dpdk.org/api/patches/73975/checks/", "tags": {}, "related": [], "headers": { "Return-Path": "<dev-bounces@dpdk.org>", "X-Original-To": "patchwork@inbox.dpdk.org", "Delivered-To": "patchwork@inbox.dpdk.org", "Received": [ "from dpdk.org (dpdk.org [92.243.14.124])\n\tby inbox.dpdk.org (Postfix) with ESMTP id 87631A0540;\n\tTue, 14 Jul 2020 04:14:50 +0200 (CEST)", "from [92.243.14.124] (localhost [127.0.0.1])\n\tby dpdk.org (Postfix) with ESMTP id 877FF1D581;\n\tTue, 14 Jul 2020 04:14:49 +0200 (CEST)", "from mga07.intel.com (mga07.intel.com [134.134.136.100])\n by dpdk.org (Postfix) with ESMTP id 3F3AC1D542\n for <dev@dpdk.org>; Tue, 14 Jul 2020 04:14:48 +0200 (CEST)", "from orsmga002.jf.intel.com ([10.7.209.21])\n by orsmga105.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384;\n 13 Jul 2020 19:14:47 -0700", "from npg-dpdk-virtio-xiachenbo-nw.sh.intel.com ([10.67.119.123])\n by orsmga002.jf.intel.com with ESMTP; 13 Jul 2020 19:14:45 -0700" ], "IronPort-SDR": [ "\n KOzjtZ6qILpBg6vln+Kx6t1Vgg2NrKlvZhIJ3s5O23YatXH5ugplzppM9KB4aEx0Iapl/aBnq/\n lT3/zPQ9pM/Q==", "\n M7Gj0bXFK6ylXLsq9g1xiqRX2vaJXaL/dGcNvvCXrmQ8AAzkJzvBBOo+qD4bZuFsFZ3BFy958o\n Wdvc0rL7Bi/Q==" ], "X-IronPort-AV": [ "E=McAfee;i=\"6000,8403,9681\"; a=\"213591127\"", "E=Sophos;i=\"5.75,349,1589266800\"; d=\"scan'208\";a=\"213591127\"", "E=Sophos;i=\"5.75,349,1589266800\"; d=\"scan'208\";a=\"299389035\"" ], "X-Amp-Result": "SKIPPED(no attachment in message)", "X-Amp-File-Uploaded": "False", "X-ExtLoop1": "1", "From": "Chenbo Xia <chenbo.xia@intel.com>", "To": "dev@dpdk.org", "Cc": "maxime.coquelin@redhat.com,\n\tzhihong.wang@intel.com,\n\tamorenoz@redhat.com", "Date": "Tue, 14 Jul 2020 11:03:05 +0000", "Message-Id": "<20200714110305.73911-1-chenbo.xia@intel.com>", "X-Mailer": "git-send-email 2.17.1", "Subject": "[dpdk-dev] [PATCH v1] net/virtio-user: fix uninitialized variable", "X-BeenThere": "dev@dpdk.org", "X-Mailman-Version": "2.1.15", "Precedence": "list", "List-Id": "DPDK patches and discussions <dev.dpdk.org>", "List-Unsubscribe": "<https://mails.dpdk.org/options/dev>,\n <mailto:dev-request@dpdk.org?subject=unsubscribe>", "List-Archive": "<http://mails.dpdk.org/archives/dev/>", "List-Post": "<mailto:dev@dpdk.org>", "List-Help": "<mailto:dev-request@dpdk.org?subject=help>", "List-Subscribe": "<https://mails.dpdk.org/listinfo/dev>,\n <mailto:dev-request@dpdk.org?subject=subscribe>", "Errors-To": "dev-bounces@dpdk.org", "Sender": "\"dev\" <dev-bounces@dpdk.org>" }, "content": "This patch fixes an issue that uninitialized has_reply_ack\nis used for setting message flags.\n\nCoverity issue: 360834\nFixes: c60208dd6384 (\"net/virtio-user: support reply-ack\")\n\nSigned-off-by: Chenbo Xia <chenbo.xia@intel.com>\n---\n drivers/net/virtio/virtio_user/vhost_user.c | 2 +-\n 1 file changed, 1 insertion(+), 1 deletion(-)", "diff": "diff --git a/drivers/net/virtio/virtio_user/vhost_user.c b/drivers/net/virtio/virtio_user/vhost_user.c\nindex 631d0e353..ad48bafd4 100644\n--- a/drivers/net/virtio/virtio_user/vhost_user.c\n+++ b/drivers/net/virtio/virtio_user/vhost_user.c\n@@ -254,7 +254,7 @@ vhost_user_sock(struct virtio_user_dev *dev,\n \tstruct vhost_user_msg msg;\n \tstruct vhost_vring_file *file = 0;\n \tint need_reply = 0;\n-\tint has_reply_ack;\n+\tint has_reply_ack = 0;\n \tint fds[VHOST_MEMORY_MAX_NREGIONS];\n \tint fd_num = 0;\n \tint len;\n", "prefixes": [ "v1" ] }{ "id": 73975, "url": "