get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 100098,
    "url": "http://patches.dpdk.org/api/patches/100098/?format=api",
    "web_url": "http://patches.dpdk.org/project/dpdk/patch/20210930125938.266731-2-zhihongx.peng@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": "<20210930125938.266731-2-zhihongx.peng@intel.com>",
    "list_archive_url": "https://inbox.dpdk.org/dev/20210930125938.266731-2-zhihongx.peng@intel.com",
    "date": "2021-09-30T12:59:38",
    "name": "[v6,2/2] lib/pipeline: Fix compilation error with gcc ASan",
    "commit_ref": null,
    "pull_url": null,
    "state": "superseded",
    "archived": true,
    "hash": "b961c143e565d99a90f2761c5d0c095330278175",
    "submitter": {
        "id": 1643,
        "url": "http://patches.dpdk.org/api/people/1643/?format=api",
        "name": "Peng, ZhihongX",
        "email": "zhihongx.peng@intel.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/20210930125938.266731-2-zhihongx.peng@intel.com/mbox/",
    "series": [
        {
            "id": 19292,
            "url": "http://patches.dpdk.org/api/series/19292/?format=api",
            "web_url": "http://patches.dpdk.org/project/dpdk/list/?series=19292",
            "date": "2021-09-30T12:59:37",
            "name": "[v6,1/2] Enable ASan for memory detector on DPDK",
            "version": 6,
            "mbox": "http://patches.dpdk.org/series/19292/mbox/"
        }
    ],
    "comments": "http://patches.dpdk.org/api/patches/100098/comments/",
    "check": "fail",
    "checks": "http://patches.dpdk.org/api/patches/100098/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 134EAA0C41;\n\tThu, 30 Sep 2021 15:09:19 +0200 (CEST)",
            "from [217.70.189.124] (localhost [127.0.0.1])\n\tby mails.dpdk.org (Postfix) with ESMTP id BFF93410F2;\n\tThu, 30 Sep 2021 15:09:15 +0200 (CEST)",
            "from mga11.intel.com (mga11.intel.com [192.55.52.93])\n by mails.dpdk.org (Postfix) with ESMTP id 0618340DDA;\n Thu, 30 Sep 2021 15:09:09 +0200 (CEST)",
            "from fmsmga003.fm.intel.com ([10.253.24.29])\n by fmsmga102.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384;\n 30 Sep 2021 06:09:09 -0700",
            "from unknown (HELO localhost.localdomain) ([10.240.183.65])\n by fmsmga003-auth.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384;\n 30 Sep 2021 06:09:07 -0700"
        ],
        "X-IronPort-AV": [
            "E=McAfee;i=\"6200,9189,10122\"; a=\"221976182\"",
            "E=Sophos;i=\"5.85,336,1624345200\"; d=\"scan'208\";a=\"221976182\"",
            "E=Sophos;i=\"5.85,336,1624345200\"; d=\"scan'208\";a=\"555773268\""
        ],
        "From": "zhihongx.peng@intel.com",
        "To": "anatoly.burakov@intel.com, konstantin.ananyev@intel.com,\n stephen@networkplumber.org",
        "Cc": "dev@dpdk.org, xueqin.lin@intel.com,\n Zhihong Peng <zhihongx.peng@intel.com>,\n stable@dpdk.org",
        "Date": "Thu, 30 Sep 2021 12:59:38 +0000",
        "Message-Id": "<20210930125938.266731-2-zhihongx.peng@intel.com>",
        "X-Mailer": "git-send-email 2.25.1",
        "In-Reply-To": "<20210930125938.266731-1-zhihongx.peng@intel.com>",
        "References": "<20210924100310.4278-1-zhihongx.peng@intel.com>\n <20210930125938.266731-1-zhihongx.peng@intel.com>",
        "MIME-Version": "1.0",
        "Content-Transfer-Encoding": "8bit",
        "Subject": "[dpdk-dev] [PATCH v6 2/2] lib/pipeline: Fix compilation error with\n gcc ASan",
        "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",
        "Sender": "\"dev\" <dev-bounces@dpdk.org>"
    },
    "content": "From: Zhihong Peng <zhihongx.peng@intel.com>\n\nAfter adding ASan, the gcc compilation check will be stricter.\n\"Control reaches end of non-void function\" error occurs here.\n\nFixes: f38913b7fb8e (pipeline: add meter array to SWX)\nCc: stable@dpdk.org\n\nSigned-off-by: Xueqin Lin <xueqin.lin@intel.com>\nSigned-off-by: Zhihong Peng <zhihongx.peng@intel.com>\n---\n lib/pipeline/rte_swx_pipeline.c | 4 ++--\n 1 file changed, 2 insertions(+), 2 deletions(-)",
    "diff": "diff --git a/lib/pipeline/rte_swx_pipeline.c b/lib/pipeline/rte_swx_pipeline.c\nindex 1cd09a4b44..0acd6c6752 100644\n--- a/lib/pipeline/rte_swx_pipeline.c\n+++ b/lib/pipeline/rte_swx_pipeline.c\n@@ -4642,7 +4642,7 @@ instr_meter_translate(struct rte_swx_pipeline *p,\n \t\treturn 0;\n \t}\n \n-\tCHECK(0, EINVAL);\n+\treturn -EINVAL;\n }\n \n static inline void\n@@ -5937,7 +5937,7 @@ instr_translate(struct rte_swx_pipeline *p,\n \t\t\t\t\t      instr,\n \t\t\t\t\t      data);\n \n-\tCHECK(0, EINVAL);\n+\treturn -EINVAL;\n }\n \n static struct instruction_data *\n",
    "prefixes": [
        "v6",
        "2/2"
    ]
}