get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 84321,
    "url": "https://patches.dpdk.org/api/patches/84321/?format=api",
    "web_url": "https://patches.dpdk.org/project/dpdk/patch/20201118114525.99053-6-ferruh.yigit@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": "<20201118114525.99053-6-ferruh.yigit@intel.com>",
    "list_archive_url": "https://inbox.dpdk.org/dev/20201118114525.99053-6-ferruh.yigit@intel.com",
    "date": "2020-11-18T11:45:23",
    "name": "[v2,5/7] net/pcap: remove local variable shadown outer one",
    "commit_ref": null,
    "pull_url": null,
    "state": "superseded",
    "archived": true,
    "hash": "00bcd0aaefc583003894354a18d69496e49d25c5",
    "submitter": {
        "id": 324,
        "url": "https://patches.dpdk.org/api/people/324/?format=api",
        "name": "Ferruh Yigit",
        "email": "ferruh.yigit@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/20201118114525.99053-6-ferruh.yigit@intel.com/mbox/",
    "series": [
        {
            "id": 13949,
            "url": "https://patches.dpdk.org/api/series/13949/?format=api",
            "web_url": "https://patches.dpdk.org/project/dpdk/list/?series=13949",
            "date": "2020-11-18T11:45:18",
            "name": "cppcheck",
            "version": 2,
            "mbox": "https://patches.dpdk.org/series/13949/mbox/"
        }
    ],
    "comments": "https://patches.dpdk.org/api/patches/84321/comments/",
    "check": "success",
    "checks": "https://patches.dpdk.org/api/patches/84321/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 A46C7A04E6;\n\tWed, 18 Nov 2020 12:47:22 +0100 (CET)",
            "from [92.243.14.124] (localhost [127.0.0.1])\n\tby dpdk.org (Postfix) with ESMTP id 63DE3C91E;\n\tWed, 18 Nov 2020 12:45:51 +0100 (CET)",
            "from mga18.intel.com (mga18.intel.com [134.134.136.126])\n by dpdk.org (Postfix) with ESMTP id 400C1C90E;\n Wed, 18 Nov 2020 12:45:48 +0100 (CET)",
            "from orsmga004.jf.intel.com ([10.7.209.38])\n by orsmga106.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384;\n 18 Nov 2020 03:45:47 -0800",
            "from silpixa00399752.ir.intel.com (HELO\n silpixa00399752.ger.corp.intel.com) ([10.237.222.180])\n by orsmga004.jf.intel.com with ESMTP; 18 Nov 2020 03:45:46 -0800"
        ],
        "IronPort-SDR": [
            "\n 8f7yHJk7YB4xXZ0qLukelbqGRUhpo5QbLA6B9OuTH4UHLo+vpeGBsNZytkQF3SWzQFSzo5akdD\n flA3qLlXOTWQ==",
            "\n 0iLi3s+ESdBjuBY/wvXgU5jGkyHA5hJffv/BchpZdAW4CU/y7lh+gu0fDVQhGRLg3PVwwcA1Ph\n 3UC+DqiUwhPg=="
        ],
        "X-IronPort-AV": [
            "E=McAfee;i=\"6000,8403,9808\"; a=\"158876072\"",
            "E=Sophos;i=\"5.77,486,1596524400\"; d=\"scan'208\";a=\"158876072\"",
            "E=Sophos;i=\"5.77,486,1596524400\"; d=\"scan'208\";a=\"476313168\""
        ],
        "X-Amp-Result": "SKIPPED(no attachment in message)",
        "X-Amp-File-Uploaded": "False",
        "X-ExtLoop1": "1",
        "From": "Ferruh Yigit <ferruh.yigit@intel.com>",
        "To": "Juhamatti Kuusisaari <juhamatti.kuusisaari@coriant.com>",
        "Cc": "Ferruh Yigit <ferruh.yigit@intel.com>,\n\tdev@dpdk.org,\n\tstable@dpdk.org",
        "Date": "Wed, 18 Nov 2020 11:45:23 +0000",
        "Message-Id": "<20201118114525.99053-6-ferruh.yigit@intel.com>",
        "X-Mailer": "git-send-email 2.26.2",
        "In-Reply-To": "<20201118114525.99053-1-ferruh.yigit@intel.com>",
        "References": "<20201117171435.2303641-1-ferruh.yigit@intel.com>\n <20201118114525.99053-1-ferruh.yigit@intel.com>",
        "MIME-Version": "1.0",
        "Content-Transfer-Encoding": "8bit",
        "Subject": "[dpdk-dev] [PATCH v2 5/7] net/pcap: remove local variable shadown\n\touter one",
        "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": "'ret' is already defined in the function scope, removing the 'ret' in\nthe block scope.\n\nFixes: c9507cd0cada (\"net/pcap: support physical interface MAC address\")\nCc: stable@dpdk.org\n\nSigned-off-by: Ferruh Yigit <ferruh.yigit@intel.com>\n---\nCc: juhamatti.kuusisaari@coriant.com\n---\n drivers/net/pcap/rte_eth_pcap.c | 2 +-\n 1 file changed, 1 insertion(+), 1 deletion(-)",
    "diff": "diff --git a/drivers/net/pcap/rte_eth_pcap.c b/drivers/net/pcap/rte_eth_pcap.c\nindex 4930d7d382..dd9ef33c85 100644\n--- a/drivers/net/pcap/rte_eth_pcap.c\n+++ b/drivers/net/pcap/rte_eth_pcap.c\n@@ -1324,7 +1324,7 @@ eth_from_pcaps(struct rte_vdev_device *vdev,\n \n \t\t/* phy_mac arg is applied only only if \"iface\" devarg is provided */\n \t\tif (rx_queues->phy_mac) {\n-\t\t\tint ret = eth_pcap_update_mac(rx_queues->queue[0].name,\n+\t\t\tret = eth_pcap_update_mac(rx_queues->queue[0].name,\n \t\t\t\t\teth_dev, vdev->device.numa_node);\n \t\t\tif (ret == 0)\n \t\t\t\tinternals->phy_mac = 1;\n",
    "prefixes": [
        "v2",
        "5/7"
    ]
}