Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/patches/45477/?format=api
http://patches.dpdk.org/api/patches/45477/?format=api", "web_url": "http://patches.dpdk.org/project/dpdk/patch/1538027175-87290-1-git-send-email-nikhil.rao@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": "<1538027175-87290-1-git-send-email-nikhil.rao@intel.com>", "list_archive_url": "https://inbox.dpdk.org/dev/1538027175-87290-1-git-send-email-nikhil.rao@intel.com", "date": "2018-09-27T05:46:14", "name": "[v2,1/2] test: fix event timer compiler warning", "commit_ref": null, "pull_url": null, "state": "accepted", "archived": true, "hash": "d79433af340592d85f37b21e0a1872d9522a8071", "submitter": { "id": 528, "url": "http://patches.dpdk.org/api/people/528/?format=api", "name": "Rao, Nikhil", "email": "nikhil.rao@intel.com" }, "delegate": { "id": 310, "url": "http://patches.dpdk.org/api/users/310/?format=api", "username": "jerin", "first_name": "Jerin", "last_name": "Jacob", "email": "jerinj@marvell.com" }, "mbox": "http://patches.dpdk.org/project/dpdk/patch/1538027175-87290-1-git-send-email-nikhil.rao@intel.com/mbox/", "series": [ { "id": 1533, "url": "http://patches.dpdk.org/api/series/1533/?format=api", "web_url": "http://patches.dpdk.org/project/dpdk/list/?series=1533", "date": "2018-09-27T05:46:14", "name": "[v2,1/2] test: fix event timer compiler warning", "version": 2, "mbox": "http://patches.dpdk.org/series/1533/mbox/" } ], "comments": "http://patches.dpdk.org/api/patches/45477/comments/", "check": "success", "checks": "http://patches.dpdk.org/api/patches/45477/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 43B501B136;\n\tThu, 27 Sep 2018 07:44:20 +0200 (CEST)", "from mga06.intel.com (mga06.intel.com [134.134.136.31])\n\tby dpdk.org (Postfix) with ESMTP id A19301B0FF;\n\tThu, 27 Sep 2018 07:44:18 +0200 (CEST)", "from orsmga008.jf.intel.com ([10.7.209.65])\n\tby orsmga104.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384;\n\t26 Sep 2018 22:44:17 -0700", "from unknown (HELO localhost.localdomain.localdomain)\n\t([10.224.122.193])\n\tby orsmga008.jf.intel.com with ESMTP; 26 Sep 2018 22:43:58 -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,309,1534834800\"; d=\"scan'208\";a=\"76563846\"", "From": "Nikhil Rao <nikhil.rao@intel.com>", "To": "thomas@monjalon.net,\n\tjerin.jacob@caviumnetworks.com", "Cc": "dev@dpdk.org, bruce.richardson@intel.com,\n\tNikhil Rao <nikhil.rao@intel.com>, erik.g.carrillo@intel.com,\n\tstable@dpdk.org", "Date": "Thu, 27 Sep 2018 11:16:14 +0530", "Message-Id": "<1538027175-87290-1-git-send-email-nikhil.rao@intel.com>", "X-Mailer": "git-send-email 1.8.3.1", "In-Reply-To": "<1536155732-155032-1-git-send-email-nikhil.rao@intel.com>", "References": "<1536155732-155032-1-git-send-email-nikhil.rao@intel.com>", "Subject": "[dpdk-dev] [PATCH v2 1/2] test: fix event timer compiler warning", "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": "Limit the number of objects passed to rte_mempool_put_bulk()\nto the size of the object table. This fix eliminates a compiler\nwarning (array-bounds) triggered when the march command line\nparameter to gcc is set to nehalem.\n\nFixes: d1f3385d0076 (\"test: add event timer adapter auto-test\")\nCc: erik.g.carrillo@intel.com\nCc: stable@dpdk.org\n\nSigned-off-by: Nikhil Rao <nikhil.rao@intel.com>\n---\n\nv2:\n* fix compiler warning in event timer autotest.\n\n test/test/test_event_timer_adapter.c | 2 +-\n 1 file changed, 1 insertion(+), 1 deletion(-)", "diff": "diff --git a/test/test/test_event_timer_adapter.c b/test/test/test_event_timer_adapter.c\nindex 93471db..a45b7d1 100644\n--- a/test/test/test_event_timer_adapter.c\n+++ b/test/test/test_event_timer_adapter.c\n@@ -792,7 +792,7 @@\n \t\tTEST_ASSERT_EQUAL(n, ret, \"Failed to cancel complete burst of \"\n \t\t\t\t \"event timers\");\n \t\trte_mempool_put_bulk(eventdev_test_mempool, (void **)ev_tim,\n-\t\t\t\tret);\n+\t\t\t\tRTE_MIN(ret, MAX_BURST));\n \n \t\tcancel_count += ret;\n \t}\n", "prefixes": [ "v2", "1/2" ] }{ "id": 45477, "url": "