Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/patches/59710/?format=api
https://patches.dpdk.org/api/patches/59710/?format=api", "web_url": "https://patches.dpdk.org/project/dpdk/patch/20190925175400.62253-1-taox.zhu@intel.com/", "project": { "id": 1, "url": "https://patches.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": "<20190925175400.62253-1-taox.zhu@intel.com>", "list_archive_url": "https://inbox.dpdk.org/dev/20190925175400.62253-1-taox.zhu@intel.com", "date": "2019-09-25T17:54:00", "name": "[DPDK] app/testpmd: fix unused variable compile error", "commit_ref": null, "pull_url": null, "state": "superseded", "archived": true, "hash": "c2ededb1f4b83ccafda094784ba4d0a717b8f738", "submitter": { "id": 1368, "url": "https://patches.dpdk.org/api/people/1368/?format=api", "name": "Zhu, TaoX", "email": "taox.zhu@intel.com" }, "delegate": { "id": 319, "url": "https://patches.dpdk.org/api/users/319/?format=api", "username": "fyigit", "first_name": "Ferruh", "last_name": "Yigit", "email": "ferruh.yigit@amd.com" }, "mbox": "https://patches.dpdk.org/project/dpdk/patch/20190925175400.62253-1-taox.zhu@intel.com/mbox/", "series": [ { "id": 6520, "url": "https://patches.dpdk.org/api/series/6520/?format=api", "web_url": "https://patches.dpdk.org/project/dpdk/list/?series=6520", "date": "2019-09-25T17:54:00", "name": "[DPDK] app/testpmd: fix unused variable compile error", "version": 1, "mbox": "https://patches.dpdk.org/series/6520/mbox/" } ], "comments": "https://patches.dpdk.org/api/patches/59710/comments/", "check": "fail", "checks": "https://patches.dpdk.org/api/patches/59710/checks/", "tags": {}, "related": [], "headers": { "Return-Path": "<dev-bounces@dpdk.org>", "X-Original-To": "patchwork@dpdk.org", "Delivered-To": "patchwork@dpdk.org", "Received": [ "from [92.243.14.124] (localhost [127.0.0.1])\n\tby dpdk.org (Postfix) with ESMTP id 461E41E25;\n\tWed, 25 Sep 2019 11:10:07 +0200 (CEST)", "from mga14.intel.com (mga14.intel.com [192.55.52.115])\n\tby dpdk.org (Postfix) with ESMTP id 13D521DBE\n\tfor <dev@dpdk.org>; Wed, 25 Sep 2019 11:10:04 +0200 (CEST)", "from orsmga001.jf.intel.com ([10.7.209.18])\n\tby fmsmga103.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384;\n\t25 Sep 2019 02:10:04 -0700", "from unknown (HELO localhost.localdomain) ([10.240.176.181])\n\tby orsmga001.jf.intel.com with ESMTP; 25 Sep 2019 02:10:02 -0700" ], "X-Amp-Result": "SKIPPED(no attachment in message)", "X-Amp-File-Uploaded": "False", "X-ExtLoop1": "1", "X-IronPort-AV": "E=Sophos;i=\"5.64,547,1559545200\"; d=\"scan'208\";a=\"272904970\"", "From": "taox.zhu@intel.com", "To": "wenzhuo.lu@intel.com, jingjing.wu@intel.com, bernard.iremonger@intel.com", "Cc": "dev@dpdk.org, ivan.ilchenko@oktetlabs.com, Zhu Tao <taox.zhu@intel.com>", "Date": "Thu, 26 Sep 2019 01:54:00 +0800", "Message-Id": "<20190925175400.62253-1-taox.zhu@intel.com>", "X-Mailer": "git-send-email 2.17.1", "MIME-Version": "1.0", "Content-Type": "text/plain; charset=UTF-8", "Content-Transfer-Encoding": "8bit", "Subject": "[dpdk-dev] [DPDK] app/testpmd: fix unused variable compile error", "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\t<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\t<mailto:dev-request@dpdk.org?subject=subscribe>", "Errors-To": "dev-bounces@dpdk.org", "Sender": "\"dev\" <dev-bounces@dpdk.org>" }, "content": "From: Zhu Tao <taox.zhu@intel.com>\n\nThis minor patch fixes unused variable ‘ret’ compile error When\nCONFIG_RTE_LIBRTE_I40E_16BYTE_RX_DESC was selected.\n\nFixes: f5267e485a2a (\"app/testpmd: check status of getting ethdev info\")\n\nSigned-off-by: Zhu Tao <taox.zhu@intel.com>\n---\n app/test-pmd/config.c | 2 +-\n 1 file changed, 1 insertion(+), 1 deletion(-)", "diff": "diff --git a/app/test-pmd/config.c b/app/test-pmd/config.c\nindex 957c61fbe..a3b6cbd08 100644\n--- a/app/test-pmd/config.c\n+++ b/app/test-pmd/config.c\n@@ -1649,10 +1649,10 @@ ring_rx_descriptor_display(const struct rte_memzone *ring_mz,\n #endif\n \t\t\t uint16_t desc_id)\n {\n-\tint ret;\n \tstruct igb_ring_desc_16_bytes *ring =\n \t\t(struct igb_ring_desc_16_bytes *)ring_mz->addr;\n #ifndef RTE_LIBRTE_I40E_16BYTE_RX_DESC\n+\tint ret;\n \tstruct rte_eth_dev_info dev_info;\n \n \tret = eth_dev_info_get_print_err(port_id, &dev_info);\n", "prefixes": [ "DPDK" ] }{ "id": 59710, "url": "