get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 108312,
    "url": "https://patches.dpdk.org/api/patches/108312/?format=api",
    "web_url": "https://patches.dpdk.org/project/dpdk/patch/20220224155759.819460-2-pablo.de.lara.guarch@intel.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": "<20220224155759.819460-2-pablo.de.lara.guarch@intel.com>",
    "list_archive_url": "https://inbox.dpdk.org/dev/20220224155759.819460-2-pablo.de.lara.guarch@intel.com",
    "date": "2022-02-24T15:57:59",
    "name": "[v2,2/2] efd: fix uninitialized structure",
    "commit_ref": null,
    "pull_url": null,
    "state": "superseded",
    "archived": true,
    "hash": "67bc08b1bd1c4b1ab9706d018ab54ec52ef0c7dd",
    "submitter": {
        "id": 9,
        "url": "https://patches.dpdk.org/api/people/9/?format=api",
        "name": "De Lara Guarch, Pablo",
        "email": "pablo.de.lara.guarch@intel.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/20220224155759.819460-2-pablo.de.lara.guarch@intel.com/mbox/",
    "series": [
        {
            "id": 21871,
            "url": "https://patches.dpdk.org/api/series/21871/?format=api",
            "web_url": "https://patches.dpdk.org/project/dpdk/list/?series=21871",
            "date": "2022-02-24T15:57:58",
            "name": "[v2,1/2] test/efd: fix size of constant",
            "version": 2,
            "mbox": "https://patches.dpdk.org/series/21871/mbox/"
        }
    ],
    "comments": "https://patches.dpdk.org/api/patches/108312/comments/",
    "check": "fail",
    "checks": "https://patches.dpdk.org/api/patches/108312/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 B50F6A034C;\n\tThu, 24 Feb 2022 16:58:24 +0100 (CET)",
            "from [217.70.189.124] (localhost [127.0.0.1])\n\tby mails.dpdk.org (Postfix) with ESMTP id 01A5C426ED;\n\tThu, 24 Feb 2022 16:58:22 +0100 (CET)",
            "from mga12.intel.com (mga12.intel.com [192.55.52.136])\n by mails.dpdk.org (Postfix) with ESMTP id B1F97411FE;\n Thu, 24 Feb 2022 16:58:19 +0100 (CET)",
            "from orsmga007.jf.intel.com ([10.7.209.58])\n by fmsmga106.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384;\n 24 Feb 2022 07:58:05 -0800",
            "from silpixa00400636.ir.intel.com ([10.237.213.19])\n by orsmga007.jf.intel.com with ESMTP; 24 Feb 2022 07:58:03 -0800"
        ],
        "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/simple;\n d=intel.com; i=@intel.com; q=dns/txt; s=Intel;\n t=1645718300; x=1677254300;\n h=from:to:cc:subject:date:message-id:in-reply-to:\n references:mime-version:content-transfer-encoding;\n bh=7ZE1elzOJhPZj5cdyrOgKsErHngtM5/M/tUVJx4BjUQ=;\n b=atQwwk5hY96z2NxqwKX4D2YiuR96fA7kWY9vgYK6Q2+bTR3RMKYhuilf\n FJmaPYxgGyGtsqutxjDUrRtmXjVq3tG66Cvj4uSw1ucti8pdXV8xwVkqW\n DBkb36FakbBoPxS7l601NV5cb8h8oxDTIWB6YNu3X8EiKJ2djXvMn9Ecg\n RZgGBjFqCPdR4mM8Hi+e8aff3rjY+8HdMuZ6LTPWS7gPno28pGPRw5I9T\n eFb2YF911Ikl3XGrXlSceui4tx4NCMEQdGuK5lBI/JtFInZ0o3BrRblrS\n 3Hq0b+R6tvVGxJ9Shj953Ln+N6jOOSQDoHQZXWATDJrENhL534FdXD6aj g==;",
        "X-IronPort-AV": [
            "E=McAfee;i=\"6200,9189,10268\"; a=\"232241722\"",
            "E=Sophos;i=\"5.90,134,1643702400\"; d=\"scan'208\";a=\"232241722\"",
            "E=Sophos;i=\"5.90,134,1643702400\"; d=\"scan'208\";a=\"533183130\""
        ],
        "X-ExtLoop1": "1",
        "From": "Pablo de Lara <pablo.de.lara.guarch@intel.com>",
        "To": "yipeng1.wang@intel.com,\n\tbyron.marohn@intel.com",
        "Cc": "dev@dpdk.org, Pablo de Lara <pablo.de.lara.guarch@intel.com>,\n stable@dpdk.org",
        "Subject": "[PATCH v2 2/2] efd: fix uninitialized structure",
        "Date": "Thu, 24 Feb 2022 15:57:59 +0000",
        "Message-Id": "<20220224155759.819460-2-pablo.de.lara.guarch@intel.com>",
        "X-Mailer": "git-send-email 2.25.1",
        "In-Reply-To": "<20220224155759.819460-1-pablo.de.lara.guarch@intel.com>",
        "References": "<20220224154801.819320-1-pablo.de.lara.guarch@intel.com>\n <20220224155759.819460-1-pablo.de.lara.guarch@intel.com>",
        "MIME-Version": "1.0",
        "Content-Transfer-Encoding": "8bit",
        "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": "Coverity flags that both elements of efd_online_group_entry\nare used uninitialized. This is OK because this structure\nis initially used for starting values, so any value is OK.\n\nCoverity ID: 375868\nFixes: 56b6ef874f80 (\"efd: new Elastic Flow Distributor library\")\nCc: pablo.de.lara.guarch@intel.com\nCc: stable@dpdk.org\n\nSigned-off-by: Pablo de Lara <pablo.de.lara.guarch@intel.com>\n---\n\n-v2: Fixed typo in commit message \n\n---\n lib/efd/rte_efd.c | 2 +-\n 1 file changed, 1 insertion(+), 1 deletion(-)",
    "diff": "diff --git a/lib/efd/rte_efd.c b/lib/efd/rte_efd.c\nindex 560cd78961..86910e587c 100644\n--- a/lib/efd/rte_efd.c\n+++ b/lib/efd/rte_efd.c\n@@ -1162,7 +1162,7 @@ rte_efd_update(struct rte_efd_table * const table, const unsigned int socket_id,\n {\n \tuint32_t chunk_id = 0, group_id = 0, bin_id = 0;\n \tuint8_t new_bin_choice = 0;\n-\tstruct efd_online_group_entry entry;\n+\tstruct efd_online_group_entry entry = {0};\n \n \tint status = efd_compute_update(table, socket_id, key, value,\n \t\t\t&chunk_id, &group_id, &bin_id,\n",
    "prefixes": [
        "v2",
        "2/2"
    ]
}