get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

GET /api/patches/134408/?format=api
HTTP 200 OK
Allow: GET, PUT, PATCH, HEAD, OPTIONS
Content-Type: application/json
Vary: Accept

{
    "id": 134408,
    "url": "http://patches.dpdk.org/api/patches/134408/?format=api",
    "web_url": "http://patches.dpdk.org/project/dpdk/patch/1700089378-26197-5-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": "<1700089378-26197-5-git-send-email-roretzla@linux.microsoft.com>",
    "list_archive_url": "https://inbox.dpdk.org/dev/1700089378-26197-5-git-send-email-roretzla@linux.microsoft.com",
    "date": "2023-11-15T23:02:58",
    "name": "[4/4] examples: add extension keyword to statement expressions",
    "commit_ref": null,
    "pull_url": null,
    "state": "superseded",
    "archived": true,
    "hash": "ff4222594642b4f7c8bf3f151872c7bda3bae26c",
    "submitter": {
        "id": 2077,
        "url": "http://patches.dpdk.org/api/people/2077/?format=api",
        "name": "Tyler Retzlaff",
        "email": "roretzla@linux.microsoft.com"
    },
    "delegate": {
        "id": 24651,
        "url": "http://patches.dpdk.org/api/users/24651/?format=api",
        "username": "dmarchand",
        "first_name": "David",
        "last_name": "Marchand",
        "email": "david.marchand@redhat.com"
    },
    "mbox": "http://patches.dpdk.org/project/dpdk/patch/1700089378-26197-5-git-send-email-roretzla@linux.microsoft.com/mbox/",
    "series": [
        {
            "id": 30308,
            "url": "http://patches.dpdk.org/api/series/30308/?format=api",
            "web_url": "http://patches.dpdk.org/project/dpdk/list/?series=30308",
            "date": "2023-11-15T23:02:54",
            "name": "add __extension__ keyword to statement expressions",
            "version": 1,
            "mbox": "http://patches.dpdk.org/series/30308/mbox/"
        }
    ],
    "comments": "http://patches.dpdk.org/api/patches/134408/comments/",
    "check": "success",
    "checks": "http://patches.dpdk.org/api/patches/134408/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 E2FA64333B;\n\tThu, 16 Nov 2023 00:03:26 +0100 (CET)",
            "from mails.dpdk.org (localhost [127.0.0.1])\n\tby mails.dpdk.org (Postfix) with ESMTP id 32DE640E13;\n\tThu, 16 Nov 2023 00:03:06 +0100 (CET)",
            "from linux.microsoft.com (linux.microsoft.com [13.77.154.182])\n by mails.dpdk.org (Postfix) with ESMTP id 7DBFD40A71\n for <dev@dpdk.org>; Thu, 16 Nov 2023 00:03:00 +0100 (CET)",
            "by linux.microsoft.com (Postfix, from userid 1086)\n id 7220220B74C5; Wed, 15 Nov 2023 15:02:59 -0800 (PST)"
        ],
        "DKIM-Filter": "OpenDKIM Filter v2.11.0 linux.microsoft.com 7220220B74C5",
        "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed; d=linux.microsoft.com;\n s=default; t=1700089379;\n bh=wuotUbAsO2LPVSGeoierOIcSGDmE4jv4CPqWuhsGYy0=;\n h=From:To:Cc:Subject:Date:In-Reply-To:References:From;\n b=icB2EjP/m/2hudPt1JRanCCzbasFEZvgMU8aYpFrrqkEIs6QR7R9a4+w4HgqZ01HI\n KRY4DV0nKqAV/l60NFBEYFG6hQ/rGMcd5YTpp4zE38ggEvU7ylbMeGZVv6n7oxEYDT\n HT5k7bV98jIuLjJ/VZ13Me6MA3FtzTyhNCL2wQM0=",
        "From": "Tyler Retzlaff <roretzla@linux.microsoft.com>",
        "To": "dev@dpdk.org",
        "Cc": "Ajit Khaparde <ajit.khaparde@broadcom.com>,\n Aman Singh <aman.deep.singh@intel.com>,\n Amit Bernstein <amitbern@amazon.com>,\n Andrew Rybchenko <andrew.rybchenko@oktetlabs.ru>,\n Apeksha Gupta <apeksha.gupta@nxp.com>, Beilei Xing <beilei.xing@intel.com>,\n Brian Dooley <brian.dooley@intel.com>,\n Chengwen Feng <fengchengwen@huawei.com>,\n Cristian Dumitrescu <cristian.dumitrescu@intel.com>,\n Evgeny Schemeilin <evgenys@amazon.com>,\n Ferruh Yigit <ferruh.yigit@amd.com>, Gagandeep Singh <g.singh@nxp.com>,\n Gowrishankar Muthukrishnan <gmuthukrishn@marvell.com>,\n Harman Kalra <hkalra@marvell.com>, Hemant Agrawal <hemant.agrawal@nxp.com>,\n Jerin Jacob <jerinj@marvell.com>, Jian Wang <jianwang@trustnetic.com>,\n Jiawen Wu <jiawenwu@trustnetic.com>, Kai Ji <kai.ji@intel.com>,\n Kiran Kumar K <kirankumark@marvell.com>,\n Maciej Czekaj <mczekaj@marvell.com>,\n Nithin Dabilpuram <ndabilpuram@marvell.com>,\n Qi Zhang <qi.z.zhang@intel.com>,\n Rahul Lakkireddy <rahul.lakkireddy@chelsio.com>,\n Rakesh Kudurumalla <rkudurumalla@marvell.com>,\n Ron Beider <rbeider@amazon.com>, Rosen Xu <rosen.xu@intel.com>,\n Ruifeng Wang <ruifeng.wang@arm.com>, Sachin Saxena <sachin.saxena@nxp.com>,\n Satha Rao <skoteshwar@marvell.com>, Shai Brandes <shaibran@amazon.com>,\n Somnath Kotur <somnath.kotur@broadcom.com>,\n Srikanth Yalavarthi <syalavarthi@marvell.com>,\n Sunil Kumar Kori <skori@marvell.com>,\n Thomas Monjalon <thomas@monjalon.net>,\n Tianfei Zhang <tianfei.zhang@intel.com>,\n Wajeeh Atrash <atrwajee@amazon.com>, Xiao Wang <xiao.w.wang@intel.com>,\n Yuying Zhang <Yuying.Zhang@intel.com>,\n Tyler Retzlaff <roretzla@linux.microsoft.com>",
        "Subject": "[PATCH 4/4] examples: add extension keyword to statement expressions",
        "Date": "Wed, 15 Nov 2023 15:02:58 -0800",
        "Message-Id": "<1700089378-26197-5-git-send-email-roretzla@linux.microsoft.com>",
        "X-Mailer": "git-send-email 1.8.3.1",
        "In-Reply-To": "<1700089378-26197-1-git-send-email-roretzla@linux.microsoft.com>",
        "References": "<1700089378-26197-1-git-send-email-roretzla@linux.microsoft.com>",
        "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": "Add __extension__ keyword to gcc statement expression extensions.\n\nSigned-off-by: Tyler Retzlaff <roretzla@linux.microsoft.com>\n---\n examples/fips_validation/fips_validation.c | 2 +-\n examples/ip_pipeline/parser.h              | 2 +-\n examples/pipeline/cli.c                    | 2 +-\n examples/qos_meter/main.h                  | 2 +-\n 4 files changed, 4 insertions(+), 4 deletions(-)",
    "diff": "diff --git a/examples/fips_validation/fips_validation.c b/examples/fips_validation/fips_validation.c\nindex f840804..ba65d44 100644\n--- a/examples/fips_validation/fips_validation.c\n+++ b/examples/fips_validation/fips_validation.c\n@@ -14,7 +14,7 @@\n #include \"fips_validation.h\"\n \n #define skip_white_spaces(pos)\t\t\t\\\n-({\t\t\t\t\t\t\\\n+__extension__ ({\t\t\t\t\\\n \t__typeof__(pos) _p = (pos);\t\t\\\n \tfor ( ; isspace(*_p); _p++)\t\t\\\n \t\t;\t\t\t\t\\\ndiff --git a/examples/ip_pipeline/parser.h b/examples/ip_pipeline/parser.h\nindex 5224b18..4b3fdff 100644\n--- a/examples/ip_pipeline/parser.h\n+++ b/examples/ip_pipeline/parser.h\n@@ -14,7 +14,7 @@\n #define PARSE_DELIMITER\t\t\t\t\" \\f\\n\\r\\t\\v\"\n \n #define skip_white_spaces(pos)\t\t\t\\\n-({\t\t\t\t\t\t\\\n+__extension__ ({\t\t\t\t\\\n \t__typeof__(pos) _p = (pos);\t\t\\\n \tfor ( ; isspace(*_p); _p++)\t\t\\\n \t\t;\t\t\t\t\\\ndiff --git a/examples/pipeline/cli.c b/examples/pipeline/cli.c\nindex 2ae6cc5..57a5a53 100644\n--- a/examples/pipeline/cli.c\n+++ b/examples/pipeline/cli.c\n@@ -46,7 +46,7 @@\n #define MSG_CMD_FAIL        \"Command \\\"%s\\\" failed.\\n\"\n \n #define skip_white_spaces(pos)\t\t\t\\\n-({\t\t\t\t\t\t\\\n+__extension__ ({\t\t\t\t\\\n \t__typeof__(pos) _p = (pos);\t\t\\\n \tfor ( ; isspace(*_p); _p++)\t\t\\\n \t\t;\t\t\t\t\\\ndiff --git a/examples/qos_meter/main.h b/examples/qos_meter/main.h\nindex 864f019..59e5e0b 100644\n--- a/examples/qos_meter/main.h\n+++ b/examples/qos_meter/main.h\n@@ -24,7 +24,7 @@ enum policer_action policer_table[RTE_COLORS][RTE_COLORS] =\n #if APP_MODE == APP_MODE_FWD\n \n #define FUNC_METER(m, p, time, pkt_len, pkt_color)\t\\\n-({\t\t\t\t\t\t\t\\\n+__extension__ ({\t\t\t\t\t\\\n \tvoid *mp = m;\t\t\t\t\t\\\n \tvoid *pp = p;\t\t\t\t\t\\\n \tmp = mp;\t\t\t\t\t\\\n",
    "prefixes": [
        "4/4"
    ]
}