get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 74828,
    "url": "http://patches.dpdk.org/api/patches/74828/?format=api",
    "web_url": "http://patches.dpdk.org/project/dpdk/patch/20200727053451.22214-6-guinanx.sun@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": "<20200727053451.22214-6-guinanx.sun@intel.com>",
    "list_archive_url": "https://inbox.dpdk.org/dev/20200727053451.22214-6-guinanx.sun@intel.com",
    "date": "2020-07-27T05:34:48",
    "name": "[v2,5/8] net/i40e/base: fix possible uninitialized variable",
    "commit_ref": null,
    "pull_url": null,
    "state": "accepted",
    "archived": true,
    "hash": "ac2034b147829c072d41e565c3bd464d3acd16f9",
    "submitter": {
        "id": 1476,
        "url": "http://patches.dpdk.org/api/people/1476/?format=api",
        "name": "Guinan Sun",
        "email": "guinanx.sun@intel.com"
    },
    "delegate": {
        "id": 1540,
        "url": "http://patches.dpdk.org/api/users/1540/?format=api",
        "username": "qzhan15",
        "first_name": "Qi",
        "last_name": "Zhang",
        "email": "qi.z.zhang@intel.com"
    },
    "mbox": "http://patches.dpdk.org/project/dpdk/patch/20200727053451.22214-6-guinanx.sun@intel.com/mbox/",
    "series": [
        {
            "id": 11306,
            "url": "http://patches.dpdk.org/api/series/11306/?format=api",
            "web_url": "http://patches.dpdk.org/project/dpdk/list/?series=11306",
            "date": "2020-07-27T05:34:43",
            "name": "update i40e base code",
            "version": 2,
            "mbox": "http://patches.dpdk.org/series/11306/mbox/"
        }
    ],
    "comments": "http://patches.dpdk.org/api/patches/74828/comments/",
    "check": "success",
    "checks": "http://patches.dpdk.org/api/patches/74828/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 dpdk.org (dpdk.org [92.243.14.124])\n\tby inbox.dpdk.org (Postfix) with ESMTP id D55DDA053A;\n\tMon, 27 Jul 2020 08:01:06 +0200 (CEST)",
            "from [92.243.14.124] (localhost [127.0.0.1])\n\tby dpdk.org (Postfix) with ESMTP id 621C81C0D6;\n\tMon, 27 Jul 2020 08:00:31 +0200 (CEST)",
            "from mga06.intel.com (mga06.intel.com [134.134.136.31])\n by dpdk.org (Postfix) with ESMTP id C77671BFE9;\n Mon, 27 Jul 2020 08:00:27 +0200 (CEST)",
            "from orsmga002.jf.intel.com ([10.7.209.21])\n by orsmga104.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384;\n 26 Jul 2020 23:00:27 -0700",
            "from intel.sh.intel.com ([10.239.255.18])\n by orsmga002.jf.intel.com with ESMTP; 26 Jul 2020 23:00:24 -0700"
        ],
        "IronPort-SDR": [
            "\n dGhgAzco0ZWE7DfGDGfpEJTUZOaxUwdT5iOsnr2GGEfYuFEC1wdYutuQn93Yn0a01qhJwGv3Mp\n AAc+Mkc4UovA==",
            "\n e8q+EPXKsk/evg6pwzy3FLvj3rAd0Xd50tUxIGyA0sbOgQFtwU3xyv+fawBXFTO8ALxL4UlcmJ\n hUIQ6KUh+mbw=="
        ],
        "X-IronPort-AV": [
            "E=McAfee;i=\"6000,8403,9694\"; a=\"212486125\"",
            "E=Sophos;i=\"5.75,401,1589266800\"; d=\"scan'208\";a=\"212486125\"",
            "E=Sophos;i=\"5.75,401,1589266800\"; d=\"scan'208\";a=\"303344550\""
        ],
        "X-Amp-Result": "SKIPPED(no attachment in message)",
        "X-Amp-File-Uploaded": "False",
        "X-ExtLoop1": "1",
        "From": "Guinan Sun <guinanx.sun@intel.com>",
        "To": "dev@dpdk.org",
        "Cc": "Beilei Xing <beilei.xing@intel.com>, Jeff Guo <jia.guo@intel.com>,\n Guinan Sun <guinanx.sun@intel.com>, stable@dpdk.org,\n Adam Ludkiewicz <adam.ludkiewicz@intel.com>",
        "Date": "Mon, 27 Jul 2020 05:34:48 +0000",
        "Message-Id": "<20200727053451.22214-6-guinanx.sun@intel.com>",
        "X-Mailer": "git-send-email 2.17.1",
        "In-Reply-To": "<20200727053451.22214-1-guinanx.sun@intel.com>",
        "References": "<20200721074000.30449-1-guinanx.sun@intel.com>\n <20200727053451.22214-1-guinanx.sun@intel.com>",
        "Subject": "[dpdk-dev] [PATCH v2 5/8] net/i40e/base: fix possible uninitialized\n\tvariable",
        "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 <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": "Fix possible uninitialized variable in i40e in the i40e_get_lpi_counters\nfunction.\n\nFixes: 429bdc0cd967 (\"net/i40e/base: add function to read LPI counters\")\nCc: stable@dpdk.org\n\nSigned-off-by: Adam Ludkiewicz <adam.ludkiewicz@intel.com>\nSigned-off-by: Guinan Sun <guinanx.sun@intel.com>\n---\nV2:\n* Modify commit message.\n---\n drivers/net/i40e/base/i40e_common.c | 2 +-\n 1 file changed, 1 insertion(+), 1 deletion(-)",
    "diff": "diff --git a/drivers/net/i40e/base/i40e_common.c b/drivers/net/i40e/base/i40e_common.c\nindex 46a0b7881..85c22849e 100644\n--- a/drivers/net/i40e/base/i40e_common.c\n+++ b/drivers/net/i40e/base/i40e_common.c\n@@ -7097,7 +7097,7 @@ enum i40e_status_code i40e_get_lpi_counters(struct i40e_hw *hw,\n \t\t\t\tI40E_AQ_RUN_PHY_ACT_DNL_OPCODE_GET_EEE_STAT,\n \t\t\t\t&cmd_status, tx_counter, rx_counter, NULL);\n \n-\t\tif (cmd_status != I40E_AQ_RUN_PHY_ACT_CMD_STAT_SUCC)\n+\t\tif (!retval && cmd_status != I40E_AQ_RUN_PHY_ACT_CMD_STAT_SUCC)\n \t\t\tretval = I40E_ERR_ADMIN_QUEUE_ERROR;\n \n \t\treturn retval;\n",
    "prefixes": [
        "v2",
        "5/8"
    ]
}