get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 101187,
    "url": "http://patches.dpdk.org/api/patches/101187/?format=api",
    "web_url": "http://patches.dpdk.org/project/dpdk/patch/20211012094318.1154727-3-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": "<20211012094318.1154727-3-zhihongx.peng@intel.com>",
    "list_archive_url": "https://inbox.dpdk.org/dev/20211012094318.1154727-3-zhihongx.peng@intel.com",
    "date": "2021-10-12T09:43:18",
    "name": "[v9,3/3] pipeline: Fix compilation error with gcc ASan",
    "commit_ref": null,
    "pull_url": null,
    "state": "changes-requested",
    "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/20211012094318.1154727-3-zhihongx.peng@intel.com/mbox/",
    "series": [
        {
            "id": 19549,
            "url": "http://patches.dpdk.org/api/series/19549/?format=api",
            "web_url": "http://patches.dpdk.org/project/dpdk/list/?series=19549",
            "date": "2021-10-12T09:43:16",
            "name": "[v9,1/3] Enable ASan for memory detector on DPDK",
            "version": 9,
            "mbox": "http://patches.dpdk.org/series/19549/mbox/"
        }
    ],
    "comments": "http://patches.dpdk.org/api/patches/101187/comments/",
    "check": "warning",
    "checks": "http://patches.dpdk.org/api/patches/101187/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 43FEDA0C47;\n\tTue, 12 Oct 2021 11:54:32 +0200 (CEST)",
            "from [217.70.189.124] (localhost [127.0.0.1])\n\tby mails.dpdk.org (Postfix) with ESMTP id 5550D41136;\n\tTue, 12 Oct 2021 11:54:23 +0200 (CEST)",
            "from mga11.intel.com (mga11.intel.com [192.55.52.93])\n by mails.dpdk.org (Postfix) with ESMTP id D2F9941123;\n Tue, 12 Oct 2021 11:54:20 +0200 (CEST)",
            "from orsmga008.jf.intel.com ([10.7.209.65])\n by fmsmga102.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384;\n 12 Oct 2021 02:54:20 -0700",
            "from unknown (HELO localhost.localdomain) ([10.240.183.65])\n by orsmga008-auth.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384;\n 12 Oct 2021 02:54:17 -0700"
        ],
        "X-IronPort-AV": [
            "E=McAfee;i=\"6200,9189,10134\"; a=\"224519260\"",
            "E=Sophos;i=\"5.85,367,1624345200\"; d=\"scan'208\";a=\"224519260\"",
            "E=Sophos;i=\"5.85,367,1624345200\"; d=\"scan'208\";a=\"490895018\""
        ],
        "From": "zhihongx.peng@intel.com",
        "To": "david.marchand@redhat.com, anatoly.burakov@intel.com,\n konstantin.ananyev@intel.com, stephen@networkplumber.org",
        "Cc": "dev@dpdk.org, xueqin.lin@intel.com,\n Zhihong Peng <zhihongx.peng@intel.com>,\n stable@dpdk.org",
        "Date": "Tue, 12 Oct 2021 09:43:18 +0000",
        "Message-Id": "<20211012094318.1154727-3-zhihongx.peng@intel.com>",
        "X-Mailer": "git-send-email 2.25.1",
        "In-Reply-To": "<20211012094318.1154727-1-zhihongx.peng@intel.com>",
        "References": "<20211011062810.422220-1-zhihongx.peng@intel.com>\n <20211012094318.1154727-1-zhihongx.peng@intel.com>",
        "MIME-Version": "1.0",
        "Content-Transfer-Encoding": "8bit",
        "Subject": "[dpdk-dev] [PATCH v9 3/3] pipeline: Fix compilation error with gcc\n 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\nThe gcc will check code more stricter when ASan enabled.\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---\nv7: no change\nv8: no change\nv9: Modify the submit log\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": [
        "v9",
        "3/3"
    ]
}