Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/patches/84320/?format=api
https://patches.dpdk.org/api/patches/84320/?format=api", "web_url": "https://patches.dpdk.org/project/dpdk/patch/20201118114525.99053-5-ferruh.yigit@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": "<20201118114525.99053-5-ferruh.yigit@intel.com>", "list_archive_url": "https://inbox.dpdk.org/dev/20201118114525.99053-5-ferruh.yigit@intel.com", "date": "2020-11-18T11:45:22", "name": "[v2,4/7] app/procinfo: remove useless assignment", "commit_ref": null, "pull_url": null, "state": "superseded", "archived": true, "hash": "1b78e39e8c1044d9d4451f87e96682396ffab5a9", "submitter": { "id": 324, "url": "https://patches.dpdk.org/api/people/324/?format=api", "name": "Ferruh Yigit", "email": "ferruh.yigit@intel.com" }, "delegate": { "id": 1, "url": "https://patches.dpdk.org/api/users/1/?format=api", "username": "tmonjalo", "first_name": "Thomas", "last_name": "Monjalon", "email": "thomas@monjalon.net" }, "mbox": "https://patches.dpdk.org/project/dpdk/patch/20201118114525.99053-5-ferruh.yigit@intel.com/mbox/", "series": [ { "id": 13949, "url": "https://patches.dpdk.org/api/series/13949/?format=api", "web_url": "https://patches.dpdk.org/project/dpdk/list/?series=13949", "date": "2020-11-18T11:45:18", "name": "cppcheck", "version": 2, "mbox": "https://patches.dpdk.org/series/13949/mbox/" } ], "comments": "https://patches.dpdk.org/api/patches/84320/comments/", "check": "success", "checks": "https://patches.dpdk.org/api/patches/84320/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 9E755A04E6;\n\tWed, 18 Nov 2020 12:47:01 +0100 (CET)", "from [92.243.14.124] (localhost [127.0.0.1])\n\tby dpdk.org (Postfix) with ESMTP id 6AC5DC90A;\n\tWed, 18 Nov 2020 12:45:49 +0100 (CET)", "from mga18.intel.com (mga18.intel.com [134.134.136.126])\n by dpdk.org (Postfix) with ESMTP id 74EA8C90A;\n Wed, 18 Nov 2020 12:45:46 +0100 (CET)", "from orsmga004.jf.intel.com ([10.7.209.38])\n by orsmga106.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384;\n 18 Nov 2020 03:45:46 -0800", "from silpixa00399752.ir.intel.com (HELO\n silpixa00399752.ger.corp.intel.com) ([10.237.222.180])\n by orsmga004.jf.intel.com with ESMTP; 18 Nov 2020 03:45:43 -0800" ], "IronPort-SDR": [ "\n WIZ8XUBMQ7ZScWh2E5CMCcX9eAyHnWqh3TYfVCWZf20iisi84fi+fMLlkriTXNDiLH/nxilWDr\n QQ13rsmA9pTg==", "\n IDP/v0at4RQ4Jz3WVadvDkji15xlD/qjHiGOME3WzNM8SSIYrisCEom7oSiAAJK/4Z6LPc2pH9\n Yv1InGcE1TUA==" ], "X-IronPort-AV": [ "E=McAfee;i=\"6000,8403,9808\"; a=\"158876070\"", "E=Sophos;i=\"5.77,486,1596524400\"; d=\"scan'208\";a=\"158876070\"", "E=Sophos;i=\"5.77,486,1596524400\"; d=\"scan'208\";a=\"476313158\"" ], "X-Amp-Result": "SKIPPED(no attachment in message)", "X-Amp-File-Uploaded": "False", "X-ExtLoop1": "1", "From": "Ferruh Yigit <ferruh.yigit@intel.com>", "To": "Maryam Tahhan <maryam.tahhan@intel.com>,\n Reshma Pattan <reshma.pattan@intel.com>,\n Vipin Varghese <vipin.varghese@intel.com>,\n John McNamara <john.mcnamara@intel.com>", "Cc": "Ferruh Yigit <ferruh.yigit@intel.com>,\n\tdev@dpdk.org,\n\tstable@dpdk.org", "Date": "Wed, 18 Nov 2020 11:45:22 +0000", "Message-Id": "<20201118114525.99053-5-ferruh.yigit@intel.com>", "X-Mailer": "git-send-email 2.26.2", "In-Reply-To": "<20201118114525.99053-1-ferruh.yigit@intel.com>", "References": "<20201117171435.2303641-1-ferruh.yigit@intel.com>\n <20201118114525.99053-1-ferruh.yigit@intel.com>", "MIME-Version": "1.0", "Content-Transfer-Encoding": "8bit", "Subject": "[dpdk-dev] [PATCH v2 4/7] app/procinfo: remove useless assignment", "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": "'flag' is initialized to '0' but it is overwritten later, moving the\ndeclaration where it is used and initialize with actual value.\n\nFixes: 0101a0ec6217 (\"app/procinfo: add --show-mempool\")\nCc: stable@dpdk.org\n\nSigned-off-by: Ferruh Yigit <ferruh.yigit@intel.com>\n---\n app/proc-info/main.c | 4 +---\n 1 file changed, 1 insertion(+), 3 deletions(-)", "diff": "diff --git a/app/proc-info/main.c b/app/proc-info/main.c\nindex dc5cc92209..b891622ccb 100644\n--- a/app/proc-info/main.c\n+++ b/app/proc-info/main.c\n@@ -1264,8 +1264,6 @@ show_ring(char *name)\n static void\n show_mempool(char *name)\n {\n-\tuint64_t flags = 0;\n-\n \tsnprintf(bdr_str, MAX_STRING_LEN, \" show - MEMPOOL \");\n \tSTATS_BDR_STR(10, bdr_str);\n \n@@ -1273,8 +1271,8 @@ show_mempool(char *name)\n \t\tstruct rte_mempool *ptr = rte_mempool_lookup(name);\n \t\tif (ptr != NULL) {\n \t\t\tstruct rte_mempool_ops *ops;\n+\t\t\tuint64_t flags = ptr->flags;\n \n-\t\t\tflags = ptr->flags;\n \t\t\tops = rte_mempool_get_ops(ptr->ops_index);\n \t\t\tprintf(\" - Name: %s on socket %d\\n\"\n \t\t\t\t\" - flags:\\n\"\n", "prefixes": [ "v2", "4/7" ] }{ "id": 84320, "url": "