get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 62117,
    "url": "https://patches.dpdk.org/api/patches/62117/?format=api",
    "web_url": "https://patches.dpdk.org/project/dpdk/patch/20191028142145.3758-5-aostruszka@marvell.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": "<20191028142145.3758-5-aostruszka@marvell.com>",
    "list_archive_url": "https://inbox.dpdk.org/dev/20191028142145.3758-5-aostruszka@marvell.com",
    "date": "2019-10-28T14:21:38",
    "name": "[v5,04/11] app/eventdev: clean LTO build warnings (maybe-uninitialized)",
    "commit_ref": null,
    "pull_url": null,
    "state": "superseded",
    "archived": true,
    "hash": "31b4f27775f36dfefd7f061a55ea50ae8e57a4fa",
    "submitter": {
        "id": 1429,
        "url": "https://patches.dpdk.org/api/people/1429/?format=api",
        "name": "Andrzej Ostruszka [C]",
        "email": "aostruszka@marvell.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/20191028142145.3758-5-aostruszka@marvell.com/mbox/",
    "series": [
        {
            "id": 7109,
            "url": "https://patches.dpdk.org/api/series/7109/?format=api",
            "web_url": "https://patches.dpdk.org/project/dpdk/list/?series=7109",
            "date": "2019-10-28T14:21:34",
            "name": "Add an option to use LTO for DPDK build",
            "version": 5,
            "mbox": "https://patches.dpdk.org/series/7109/mbox/"
        }
    ],
    "comments": "https://patches.dpdk.org/api/patches/62117/comments/",
    "check": "fail",
    "checks": "https://patches.dpdk.org/api/patches/62117/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 CA6C21BF49;\n\tMon, 28 Oct 2019 15:22:06 +0100 (CET)",
            "from mx0b-0016f401.pphosted.com (mx0b-0016f401.pphosted.com\n\t[67.231.156.173]) by dpdk.org (Postfix) with ESMTP id C9E051BF32\n\tfor <dev@dpdk.org>; Mon, 28 Oct 2019 15:21:59 +0100 (CET)",
            "from pps.filterd (m0045851.ppops.net [127.0.0.1])\n\tby mx0b-0016f401.pphosted.com (8.16.0.42/8.16.0.42) with SMTP id\n\tx9SEKb31005701; Mon, 28 Oct 2019 07:21:59 -0700",
            "from sc-exch04.marvell.com ([199.233.58.184])\n\tby mx0b-0016f401.pphosted.com with ESMTP id 2vvnnnwneu-2\n\t(version=TLSv1.2 cipher=ECDHE-RSA-AES256-SHA384 bits=256 verify=NOT); \n\tMon, 28 Oct 2019 07:21:59 -0700",
            "from SC-EXCH03.marvell.com (10.93.176.83) by SC-EXCH04.marvell.com\n\t(10.93.176.84) with Microsoft SMTP Server (TLS) id 15.0.1367.3;\n\tMon, 28 Oct 2019 07:21:57 -0700",
            "from maili.marvell.com (10.93.176.43) by SC-EXCH03.marvell.com\n\t(10.93.176.83) with Microsoft SMTP Server id 15.0.1367.3 via Frontend\n\tTransport; Mon, 28 Oct 2019 07:21:57 -0700",
            "from amok.marvell.com (unknown [10.95.130.103])\n\tby maili.marvell.com (Postfix) with ESMTP id EA2863F703F;\n\tMon, 28 Oct 2019 07:21:55 -0700 (PDT)"
        ],
        "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed; d=marvell.com;\n\th=from : to : cc :\n\tsubject : date : message-id : in-reply-to : references : mime-version\n\t: content-type : content-transfer-encoding; s=pfpt0818;\n\tbh=WM2MRVobxBFpuHy6ij7dcmgjuy/Dp+czBz9UQLMFISc=;\n\tb=BEGARvnjEDIC8RRPRpAi9GA7Hkhr7D4dx7I54L5hw//3C1AuPe6lqEo1zbQkGD8ZYoJG\n\tYZ6E5kWJm8KG4rgf6hogdJDNZyAt2YiF7qaFyyIYegyQwmtBlNGUFF3arkCBMZg9/WU5\n\t2Myhu0IGL4CrcGwVXOD4jQ36xh2+uQfKYIm0X25BId4NuEiyV/etgbSFwjChI6HRuNAh\n\t8I12VT1abH6T9GB2kgdFiRMD20rzJyPAarLiyCnr684envOdWtrr8C/XIianpnQ8RV1K\n\th20LdEjtfbu/ILwWA1L3oTO/VnZPf1DnKCuYbrx4QHiN4MkeDzE2awiUh0PMpGIDRC12\n\t2g== ",
        "From": "Andrzej Ostruszka <aostruszka@marvell.com>",
        "To": "<dev@dpdk.org>, Jerin Jacob <jerinj@marvell.com>",
        "CC": "<mattias.ronnblom@ericsson.com>, <stephen@networkplumber.org>",
        "Date": "Mon, 28 Oct 2019 15:21:38 +0100",
        "Message-ID": "<20191028142145.3758-5-aostruszka@marvell.com>",
        "X-Mailer": "git-send-email 2.17.1",
        "In-Reply-To": "<20191028142145.3758-1-aostruszka@marvell.com>",
        "References": "<20191022115412.8837-1-aostruszka@marvell.com>\n\t<20191028142145.3758-1-aostruszka@marvell.com>",
        "MIME-Version": "1.0",
        "Content-Type": "text/plain; charset=\"UTF-8\"",
        "Content-Transfer-Encoding": "8bit",
        "X-Proofpoint-Virus-Version": "vendor=fsecure engine=2.50.10434:6.0.95,1.0.8\n\tdefinitions=2019-10-28_05:2019-10-25,2019-10-28 signatures=0",
        "Subject": "[dpdk-dev] [PATCH v5 04/11] app/eventdev: clean LTO build warnings\n\t(maybe-uninitialized)",
        "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": "During LTO build compiler reports some 'false positive' warnings about\nvariables being possibly used uninitialized.  This patch silences these\nwarnings.\n\nExemplary compiler warning to suppress (with LTO enabled):\nerror: ‘service_id’ may be used uninitialized in this function\n[-Werror=maybe-uninitialized]\n    ret = evt_service_setup(service_id);\n\nSigned-off-by: Andrzej Ostruszka <aostruszka@marvell.com>\n---\n app/test-eventdev/test_perf_common.c     | 2 +-\n app/test-eventdev/test_pipeline_common.c | 4 ++--\n 2 files changed, 3 insertions(+), 3 deletions(-)",
    "diff": "diff --git a/app/test-eventdev/test_perf_common.c b/app/test-eventdev/test_perf_common.c\nindex e24519179..e7cf75a7d 100644\n--- a/app/test-eventdev/test_perf_common.c\n+++ b/app/test-eventdev/test_perf_common.c\n@@ -439,7 +439,7 @@ perf_event_timer_adapter_setup(struct test_perf *t)\n \n \t\tif (!(adapter_info.caps &\n \t\t\t\tRTE_EVENT_TIMER_ADAPTER_CAP_INTERNAL_PORT)) {\n-\t\t\tuint32_t service_id;\n+\t\t\tuint32_t service_id = -1U;\n \n \t\t\trte_event_timer_adapter_service_id_get(wl,\n \t\t\t\t\t&service_id);\ndiff --git a/app/test-eventdev/test_pipeline_common.c b/app/test-eventdev/test_pipeline_common.c\nindex 386aca299..160461fb2 100644\n--- a/app/test-eventdev/test_pipeline_common.c\n+++ b/app/test-eventdev/test_pipeline_common.c\n@@ -326,7 +326,7 @@ pipeline_event_rx_adapter_setup(struct evt_options *opt, uint8_t stride,\n \t\t}\n \n \t\tif (!(cap & RTE_EVENT_ETH_RX_ADAPTER_CAP_INTERNAL_PORT)) {\n-\t\t\tuint32_t service_id;\n+\t\t\tuint32_t service_id = -1U;\n \n \t\t\trte_event_eth_rx_adapter_service_id_get(prod,\n \t\t\t\t\t&service_id);\n@@ -378,7 +378,7 @@ pipeline_event_tx_adapter_setup(struct evt_options *opt,\n \t\t}\n \n \t\tif (!(cap & RTE_EVENT_ETH_TX_ADAPTER_CAP_INTERNAL_PORT)) {\n-\t\t\tuint32_t service_id;\n+\t\t\tuint32_t service_id = -1U;\n \n \t\t\trte_event_eth_tx_adapter_service_id_get(consm,\n \t\t\t\t\t&service_id);\n",
    "prefixes": [
        "v5",
        "04/11"
    ]
}