Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/patches/138059/?format=api
http://patches.dpdk.org/api/patches/138059/?format=api", "web_url": "http://patches.dpdk.org/project/dpdk/patch/1709756036-24068-6-git-send-email-roretzla@linux.microsoft.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": "<1709756036-24068-6-git-send-email-roretzla@linux.microsoft.com>", "list_archive_url": "https://inbox.dpdk.org/dev/1709756036-24068-6-git-send-email-roretzla@linux.microsoft.com", "date": "2024-03-06T20:13:55", "name": "[v5,5/6] lpm: replace zero length array with flex array", "commit_ref": null, "pull_url": null, "state": "new", "archived": false, "hash": "341fe4d9f4cc54dd10eb269eb2a7b58a8294d01c", "submitter": { "id": 2077, "url": "http://patches.dpdk.org/api/people/2077/?format=api", "name": "Tyler Retzlaff", "email": "roretzla@linux.microsoft.com" }, "delegate": { "id": 1, "url": "http://patches.dpdk.org/api/users/1/?format=api", "username": "tmonjalo", "first_name": "Thomas", "last_name": "Monjalon", "email": "thomas@monjalon.net" }, "mbox": "http://patches.dpdk.org/project/dpdk/patch/1709756036-24068-6-git-send-email-roretzla@linux.microsoft.com/mbox/", "series": [ { "id": 31404, "url": "http://patches.dpdk.org/api/series/31404/?format=api", "web_url": "http://patches.dpdk.org/project/dpdk/list/?series=31404", "date": "2024-03-06T20:13:51", "name": "more replacement of zero length array", "version": 5, "mbox": "http://patches.dpdk.org/series/31404/mbox/" } ], "comments": "http://patches.dpdk.org/api/patches/138059/comments/", "check": "success", "checks": "http://patches.dpdk.org/api/patches/138059/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 mails.dpdk.org (mails.dpdk.org [217.70.189.124])\n\tby inbox.dpdk.org (Postfix) with ESMTP id 19CB343C5A;\n\tWed, 6 Mar 2024 21:14:28 +0100 (CET)", "from mails.dpdk.org (localhost [127.0.0.1])\n\tby mails.dpdk.org (Postfix) with ESMTP id 81A4D42E94;\n\tWed, 6 Mar 2024 21:14:05 +0100 (CET)", "from linux.microsoft.com (linux.microsoft.com [13.77.154.182])\n by mails.dpdk.org (Postfix) with ESMTP id 38FE3402EA\n for <dev@dpdk.org>; Wed, 6 Mar 2024 21:13:59 +0100 (CET)", "by linux.microsoft.com (Postfix, from userid 1086)\n id 01D3D20B74C5; Wed, 6 Mar 2024 12:13:57 -0800 (PST)" ], "DKIM-Filter": "OpenDKIM Filter v2.11.0 linux.microsoft.com 01D3D20B74C5", "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed; d=linux.microsoft.com;\n s=default; t=1709756038;\n bh=EGzAYyHR4lf6Y48AOS2lru/JcXvrSeb2QJZdgWeMVLA=;\n h=From:To:Cc:Subject:Date:In-Reply-To:References:From;\n b=BhJHLYGnNCiFe4j0qrPnb52xjtnkxXlBtPk09DITGbx/o5jaPdaX6C2OMHQkl7FHL\n wGwrPXMm3Qj00LHSCEcpSBVH25rIpnLlDG058e6MI/k5fA8gNig31ovZRNHjjhLS9+\n l5FfSGuyWCjDRD3Xdr905y6xRp3SNTQipJ+lLk70=", "From": "Tyler Retzlaff <roretzla@linux.microsoft.com>", "To": "dev@dpdk.org", "Cc": "Bruce Richardson <bruce.richardson@intel.com>,\n Cristian Dumitrescu <cristian.dumitrescu@intel.com>,\n Honnappa Nagarahalli <honnappa.nagarahalli@arm.com>,\n Sameh Gobriel <sameh.gobriel@intel.com>,\n Vladimir Medvedkin <vladimir.medvedkin@intel.com>,\n Yipeng Wang <yipeng1.wang@intel.com>, mb@smartsharesystems.com,\n fengchengwen@huawei.com, Tyler Retzlaff <roretzla@linux.microsoft.com>", "Subject": "[PATCH v5 5/6] lpm: replace zero length array with flex array", "Date": "Wed, 6 Mar 2024 12:13:55 -0800", "Message-Id": "<1709756036-24068-6-git-send-email-roretzla@linux.microsoft.com>", "X-Mailer": "git-send-email 1.8.3.1", "In-Reply-To": "<1709756036-24068-1-git-send-email-roretzla@linux.microsoft.com>", "References": "<1706134657-17446-1-git-send-email-roretzla@linux.microsoft.com>\n <1709756036-24068-1-git-send-email-roretzla@linux.microsoft.com>", "MIME-Version": "1.0", "Content-Type": "text/plain; charset=UTF-8", "Content-Transfer-Encoding": "8bit", "X-BeenThere": "dev@dpdk.org", "X-Mailman-Version": "2.1.29", "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" }, "content": "Zero length arrays are GNU extension. Replace with\nstandard flex array.\n\nSigned-off-by: Tyler Retzlaff <roretzla@linux.microsoft.com>\nReviewed-by: Morten Brørup <mb@smartsharesystems.com>\n---\n lib/lpm/rte_lpm6.c | 2 +-\n 1 file changed, 1 insertion(+), 1 deletion(-)", "diff": "diff --git a/lib/lpm/rte_lpm6.c b/lib/lpm/rte_lpm6.c\nindex 46d8f71..5cc1bb2 100644\n--- a/lib/lpm/rte_lpm6.c\n+++ b/lib/lpm/rte_lpm6.c\n@@ -107,7 +107,7 @@ struct rte_lpm6 {\n \n \tstruct rte_lpm_tbl8_hdr *tbl8_hdrs; /* array of tbl8 headers */\n \n-\talignas(RTE_CACHE_LINE_SIZE) struct rte_lpm6_tbl_entry tbl8[0];\n+\talignas(RTE_CACHE_LINE_SIZE) struct rte_lpm6_tbl_entry tbl8[];\n \t\t\t/**< LPM tbl8 table. */\n };\n \n", "prefixes": [ "v5", "5/6" ] }{ "id": 138059, "url": "