get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 126661,
    "url": "http://patchwork.dpdk.org/api/patches/126661/?format=api",
    "web_url": "http://patchwork.dpdk.org/project/dpdk/patch/20230502135045.3541570-1-jerinj@marvell.com/",
    "project": {
        "id": 1,
        "url": "http://patchwork.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": "<20230502135045.3541570-1-jerinj@marvell.com>",
    "list_archive_url": "https://inbox.dpdk.org/dev/20230502135045.3541570-1-jerinj@marvell.com",
    "date": "2023-05-02T13:50:44",
    "name": "[v1] examples/ip_pipeline: fix build issue with GCC 13",
    "commit_ref": null,
    "pull_url": null,
    "state": "accepted",
    "archived": true,
    "hash": "3d3f9cdcda137a71ec483432645ff542be60b771",
    "submitter": {
        "id": 1188,
        "url": "http://patchwork.dpdk.org/api/people/1188/?format=api",
        "name": "Jerin Jacob Kollanukkaran",
        "email": "jerinj@marvell.com"
    },
    "delegate": {
        "id": 24651,
        "url": "http://patchwork.dpdk.org/api/users/24651/?format=api",
        "username": "dmarchand",
        "first_name": "David",
        "last_name": "Marchand",
        "email": "david.marchand@redhat.com"
    },
    "mbox": "http://patchwork.dpdk.org/project/dpdk/patch/20230502135045.3541570-1-jerinj@marvell.com/mbox/",
    "series": [
        {
            "id": 27910,
            "url": "http://patchwork.dpdk.org/api/series/27910/?format=api",
            "web_url": "http://patchwork.dpdk.org/project/dpdk/list/?series=27910",
            "date": "2023-05-02T13:50:44",
            "name": "[v1] examples/ip_pipeline: fix build issue with GCC 13",
            "version": 1,
            "mbox": "http://patchwork.dpdk.org/series/27910/mbox/"
        }
    ],
    "comments": "http://patchwork.dpdk.org/api/patches/126661/comments/",
    "check": "fail",
    "checks": "http://patchwork.dpdk.org/api/patches/126661/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 BCE7C42A2F;\n\tTue,  2 May 2023 15:50:58 +0200 (CEST)",
            "from mails.dpdk.org (localhost [127.0.0.1])\n\tby mails.dpdk.org (Postfix) with ESMTP id ACF4C42B8E;\n\tTue,  2 May 2023 15:50:58 +0200 (CEST)",
            "from mx0b-0016f401.pphosted.com (mx0a-0016f401.pphosted.com\n [67.231.148.174])\n by mails.dpdk.org (Postfix) with ESMTP id D91BC40E2D;\n Tue,  2 May 2023 15:50:56 +0200 (CEST)",
            "from pps.filterd (m0045849.ppops.net [127.0.0.1])\n by mx0a-0016f401.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id\n 342CVYtj026411; Tue, 2 May 2023 06:50:56 -0700",
            "from dc5-exch02.marvell.com ([199.233.59.182])\n by mx0a-0016f401.pphosted.com (PPS) with ESMTPS id 3qavhehkdp-1\n (version=TLSv1.2 cipher=ECDHE-RSA-AES256-SHA384 bits=256 verify=NOT);\n Tue, 02 May 2023 06:50:55 -0700",
            "from DC5-EXCH01.marvell.com (10.69.176.38) by DC5-EXCH02.marvell.com\n (10.69.176.39) with Microsoft SMTP Server (TLS) id 15.0.1497.48;\n Tue, 2 May 2023 06:50:53 -0700",
            "from maili.marvell.com (10.69.176.80) by DC5-EXCH01.marvell.com\n (10.69.176.38) with Microsoft SMTP Server id 15.0.1497.48 via Frontend\n Transport; Tue, 2 May 2023 06:50:53 -0700",
            "from jerin-lab.marvell.com (jerin-lab.marvell.com [10.28.34.14])\n by maili.marvell.com (Postfix) with ESMTP id EFCBF3F7052;\n Tue,  2 May 2023 06:50:50 -0700 (PDT)"
        ],
        "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed; d=marvell.com;\n h=from : to : cc :\n subject : date : message-id : mime-version : content-transfer-encoding :\n content-type; s=pfpt0220; bh=o2VLQWe2DXWitCCIVX7Jh+qQNJQB4zHGhXCBorBt0d4=;\n b=Gs0bnmF+N1DE9idxnraSe3X15Xc3+nP4ZzBQeQdYQp7vll4aSFkvJHTrgJKZp324ntGQ\n 8nZD+xvlUPc7wZf4Zd6y2qEcj/hp/PVDmegpR3NARu3tvRf7RcYc+K+HBoKfvd0N8JkU\n KoMcbSJq/XeqMXZwnBYsuWWXvYmrI9nQAMJk8NiNV6sS9b2fWXE+DuIIFSb61/U8QYiy\n lVS+3za8eGlQ0pPDnSLguYk9fFjob7QCiL2G+3zOaasXPSV9MQRUnIp0hMFkabAhrN2v\n uvSgn4m1eL7RmQG3qqrD0cTqSgaSnuHTQzVdTkRYjlrRIb0bvFbu6jj1NaRmU0q3+OUD 4w==",
        "From": "<jerinj@marvell.com>",
        "To": "<dev@dpdk.org>, Cristian Dumitrescu <cristian.dumitrescu@intel.com>,\n Jasvinder Singh <jasvinder.singh@intel.com>",
        "CC": "<thomas@monjalon.net>, <david.marchand@redhat.com>,\n <ferruh.yigit@xilinx.com>, <stephen@networkplumber.org>, Jerin Jacob\n <jerinj@marvell.com>, <stable@dpdk.org>",
        "Subject": "[dpdk-dev] [PATCH v1] examples/ip_pipeline: fix build issue with GCC\n 13",
        "Date": "Tue, 2 May 2023 19:20:44 +0530",
        "Message-ID": "<20230502135045.3541570-1-jerinj@marvell.com>",
        "X-Mailer": "git-send-email 2.40.1",
        "MIME-Version": "1.0",
        "Content-Transfer-Encoding": "8bit",
        "Content-Type": "text/plain",
        "X-Proofpoint-ORIG-GUID": "bKFWSDzYfvD4tay3SC8RmegI5EcKJZ8G",
        "X-Proofpoint-GUID": "bKFWSDzYfvD4tay3SC8RmegI5EcKJZ8G",
        "X-Proofpoint-Virus-Version": "vendor=baseguard\n engine=ICAP:2.0.254,Aquarius:18.0.942,Hydra:6.0.573,FMLib:17.11.170.22\n definitions=2023-05-02_08,2023-04-27_01,2023-02-09_01",
        "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": "From: Jerin Jacob <jerinj@marvell.com>\n\nFix the following build issue by initializing req to NULL for\nthe local variable.\n\nIn function 'thread_msg_handle', inlined from 'thread_main' at\n../examples/ip_pipeline/thread.c:3130:6:\n../examples/ip_pipeline/thread.c:535:20: warning: 'req' may be used\nuninitialized [-Wmaybe-uninitialized]\n  535 |                 if (req == NULL)\n      |                    ^\n../examples/ip_pipeline/thread.c: In function 'thread_main':\n../examples/ip_pipeline/thread.c:433:32: note: 'req' was declared here\n  433 |         struct thread_msg_req *req;\n\nBugzilla ID: 1220\nFixes: a8bd581de397 (\"examples/ip_pipeline: add thread runtime\")\nCc: stable@dpdk.org\n\nSigned-off-by: Jerin Jacob <jerinj@marvell.com>\n---\n examples/ip_pipeline/thread.c | 2 +-\n 1 file changed, 1 insertion(+), 1 deletion(-)",
    "diff": "diff --git a/examples/ip_pipeline/thread.c b/examples/ip_pipeline/thread.c\nindex 82d5f87c38..9817657ca9 100644\n--- a/examples/ip_pipeline/thread.c\n+++ b/examples/ip_pipeline/thread.c\n@@ -430,7 +430,7 @@ thread_pipeline_disable(uint32_t thread_id,\n static inline struct thread_msg_req *\n thread_msg_recv(struct rte_ring *msgq_req)\n {\n-\tstruct thread_msg_req *req;\n+\tstruct thread_msg_req *req = NULL;\n \n \tint status = rte_ring_sc_dequeue(msgq_req, (void **) &req);\n \n",
    "prefixes": [
        "v1"
    ]
}