Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/patches/45309/?format=api
http://patches.dpdk.org/api/patches/45309/?format=api", "web_url": "http://patches.dpdk.org/project/dpdk/patch/20180925112300.46093-1-herakliusz.lipiec@intel.com/", "project": { "id": 1, "url": "http://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": "<20180925112300.46093-1-herakliusz.lipiec@intel.com>", "list_archive_url": "https://inbox.dpdk.org/dev/20180925112300.46093-1-herakliusz.lipiec@intel.com", "date": "2018-09-25T11:23:00", "name": "[v2] app/testpmd: fix printf format specifiers", "commit_ref": null, "pull_url": null, "state": "accepted", "archived": true, "hash": "afc38f168dbdf68d6ea8ed7cd6f2240e59fb5544", "submitter": { "id": 742, "url": "http://patches.dpdk.org/api/people/742/?format=api", "name": "Herakliusz Lipiec", "email": "herakliusz.lipiec@intel.com" }, "delegate": { "id": 319, "url": "http://patches.dpdk.org/api/users/319/?format=api", "username": "fyigit", "first_name": "Ferruh", "last_name": "Yigit", "email": "ferruh.yigit@amd.com" }, "mbox": "http://patches.dpdk.org/project/dpdk/patch/20180925112300.46093-1-herakliusz.lipiec@intel.com/mbox/", "series": [ { "id": 1489, "url": "http://patches.dpdk.org/api/series/1489/?format=api", "web_url": "http://patches.dpdk.org/project/dpdk/list/?series=1489", "date": "2018-09-25T11:23:00", "name": "[v2] app/testpmd: fix printf format specifiers", "version": 2, "mbox": "http://patches.dpdk.org/series/1489/mbox/" } ], "comments": "http://patches.dpdk.org/api/patches/45309/comments/", "check": "success", "checks": "http://patches.dpdk.org/api/patches/45309/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 4345E7CCA;\n\tTue, 25 Sep 2018 13:21:45 +0200 (CEST)", "from mga18.intel.com (mga18.intel.com [134.134.136.126])\n\tby dpdk.org (Postfix) with ESMTP id 511D25F30;\n\tTue, 25 Sep 2018 13:21:43 +0200 (CEST)", "from fmsmga003.fm.intel.com ([10.253.24.29])\n\tby orsmga106.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384;\n\t25 Sep 2018 04:21:42 -0700", "from silpixa00399499.ir.intel.com (HELO\n\tsilpixa00399499.ger.corp.intel.com) ([10.237.222.133])\n\tby FMSMGA003.fm.intel.com with ESMTP; 25 Sep 2018 04:21:40 -0700" ], "X-Amp-Result": "SKIPPED(no attachment in message)", "X-Amp-File-Uploaded": "False", "X-ExtLoop1": "1", "X-IronPort-AV": "E=Sophos;i=\"5.54,301,1534834800\"; d=\"scan'208\";a=\"83096570\"", "From": "Herakliusz Lipiec <herakliusz.lipiec@intel.com>", "To": "wenzhuo.lu@intel.com, jingjing.wu@intel.com, bernard.iremonger@intel.com", "Cc": "dev@dpdk.org,\n\therakliusz.lipiec@intel.com,\n\tstable@dpdk.org", "Date": "Tue, 25 Sep 2018 12:23:00 +0100", "Message-Id": "<20180925112300.46093-1-herakliusz.lipiec@intel.com>", "X-Mailer": "git-send-email 2.9.5", "In-Reply-To": "<20180924154933.37292-1-herakliusz.lipiec@intel.com>", "References": "<20180924154933.37292-1-herakliusz.lipiec@intel.com>", "Subject": "[dpdk-dev] [PATCH v2] app/testpmd: fix printf format specifiers", "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": "change PRIu8 -> PRIu16 for port_id in eth_event_callback\n(portid_t is uint16_t)\n\nFixes: 76ad4a2d82d4 (\"app/testpmd: add generic event handler\")\nCc: stable@dpdk.org\n\nSigned-off-by: Herakliusz Lipiec <herakliusz.lipiec@intel.com>\n---\n app/test-pmd/testpmd.c | 4 ++--\n 1 file changed, 2 insertions(+), 2 deletions(-)", "diff": "diff --git a/app/test-pmd/testpmd.c b/app/test-pmd/testpmd.c\nindex 001f0e5..dacc60a 100644\n--- a/app/test-pmd/testpmd.c\n+++ b/app/test-pmd/testpmd.c\n@@ -2215,11 +2215,11 @@ eth_event_callback(portid_t port_id, enum rte_eth_event_type type, void *param,\n \tRTE_SET_USED(ret_param);\n \n \tif (type >= RTE_ETH_EVENT_MAX) {\n-\t\tfprintf(stderr, \"\\nPort %\" PRIu8 \": %s called upon invalid event %d\\n\",\n+\t\tfprintf(stderr, \"\\nPort %\" PRIu16 \": %s called upon invalid event %d\\n\",\n \t\t\tport_id, __func__, type);\n \t\tfflush(stderr);\n \t} else if (event_print_mask & (UINT32_C(1) << type)) {\n-\t\tprintf(\"\\nPort %\" PRIu8 \": %s event\\n\", port_id,\n+\t\tprintf(\"\\nPort %\" PRIu16 \": %s event\\n\", port_id,\n \t\t\tevent_desc[type]);\n \t\tfflush(stdout);\n \t}\n", "prefixes": [ "v2" ] }{ "id": 45309, "url": "