get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 61648,
    "url": "http://patches.dpdk.org/api/patches/61648/?format=api",
    "web_url": "http://patches.dpdk.org/project/dpdk/patch/20191022115412.8837-8-aostruszka@marvell.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": "<20191022115412.8837-8-aostruszka@marvell.com>",
    "list_archive_url": "https://inbox.dpdk.org/dev/20191022115412.8837-8-aostruszka@marvell.com",
    "date": "2019-10-22T11:54:09",
    "name": "[v4,07/10] net/e1000: clean LTO build warnings (maybe-uninitialized)",
    "commit_ref": null,
    "pull_url": null,
    "state": "superseded",
    "archived": true,
    "hash": "1edb352799c96f183cfc9be384b161b2baeda051",
    "submitter": {
        "id": 1429,
        "url": "http://patches.dpdk.org/api/people/1429/?format=api",
        "name": "Andrzej Ostruszka [C]",
        "email": "aostruszka@marvell.com"
    },
    "delegate": {
        "id": 1,
        "url": "http://patches.dpdk.org/api/users/1/?format=api",
        "username": "tmonjalo",
        "first_name": "Thomas",
        "last_name": "Monjalon",
        "email": "thomas@monjalon.net"
    },
    "mbox": "http://patches.dpdk.org/project/dpdk/patch/20191022115412.8837-8-aostruszka@marvell.com/mbox/",
    "series": [
        {
            "id": 6983,
            "url": "http://patches.dpdk.org/api/series/6983/?format=api",
            "web_url": "http://patches.dpdk.org/project/dpdk/list/?series=6983",
            "date": "2019-10-22T11:54:02",
            "name": "Add an option to use LTO for DPDK build",
            "version": 4,
            "mbox": "http://patches.dpdk.org/series/6983/mbox/"
        }
    ],
    "comments": "http://patches.dpdk.org/api/patches/61648/comments/",
    "check": "success",
    "checks": "http://patches.dpdk.org/api/patches/61648/checks/",
    "tags": {},
    "related": [],
    "headers": {
        "Return-Path": "<dev-bounces@dpdk.org>",
        "X-Original-To": "patchwork@dpdk.org",
        "Delivered-To": "patchwork@dpdk.org",
        "Received": [
            "from [92.243.14.124] (localhost [127.0.0.1])\n\tby dpdk.org (Postfix) with ESMTP id B51241BEFD;\n\tTue, 22 Oct 2019 13:54:38 +0200 (CEST)",
            "from mx0b-0016f401.pphosted.com (mx0a-0016f401.pphosted.com\n\t[67.231.148.174]) by dpdk.org (Postfix) with ESMTP id 979381BEED\n\tfor <dev@dpdk.org>; Tue, 22 Oct 2019 13:54:32 +0200 (CEST)",
            "from pps.filterd (m0045849.ppops.net [127.0.0.1])\n\tby mx0a-0016f401.pphosted.com (8.16.0.42/8.16.0.42) with SMTP id\n\tx9MBg7g5015671; Tue, 22 Oct 2019 04:54:31 -0700",
            "from sc-exch02.marvell.com ([199.233.58.182])\n\tby mx0a-0016f401.pphosted.com with ESMTP id 2vsyjh8act-1\n\t(version=TLSv1.2 cipher=ECDHE-RSA-AES256-SHA384 bits=256 verify=NOT); \n\tTue, 22 Oct 2019 04:54:31 -0700",
            "from SC-EXCH01.marvell.com (10.93.176.81) by SC-EXCH02.marvell.com\n\t(10.93.176.82) with Microsoft SMTP Server (TLS) id 15.0.1367.3;\n\tTue, 22 Oct 2019 04:54:30 -0700",
            "from maili.marvell.com (10.93.176.43) by SC-EXCH01.marvell.com\n\t(10.93.176.81) with Microsoft SMTP Server id 15.0.1367.3 via Frontend\n\tTransport; Tue, 22 Oct 2019 04:54:30 -0700",
            "from amok.marvell.com (unknown [10.95.130.40])\n\tby maili.marvell.com (Postfix) with ESMTP id 7FB073F703F;\n\tTue, 22 Oct 2019 04:54:29 -0700 (PDT)"
        ],
        "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed; d=marvell.com;\n\th=from : to : cc :\n\tsubject : date : message-id : in-reply-to : references : mime-version\n\t: content-type : content-transfer-encoding; s=pfpt0818;\n\tbh=RETDJ72H+sFGrRYB8z/HJt4ON0TykTqv8NA9rJqqQtw=;\n\tb=jq7j/r1RO1ts7Nr0LpjZQwrt8h94CLxunALQjZWnXoBJ1boIYLZfQRuWH6G/Jtr+ivTW\n\tzd8CQg8Gs0dcp1yNV5e77/sLX9FuX1kS8sBheSP/8SxnyGGS12FEm/q9Q0JL++byQYgL\n\tHZjEqiiYrwa314etYCX9jR1Y4vJwDbl4H+7I9BHYtpPt+OqZD6y5vxWjyo/PBxFhl82K\n\tXlB+pHuiWWsr0U3SjqGuQhHi/+t6oE3q4BX780gnITzi+lV17kUlIFSG0qRS18VW1K9J\n\tKyLBa/uTHmlaXVME1VCxYsoXE5XseknusAzC5Zf6Vuf1Zgs+RpiP8TtBWPukYxrzvM96\n\tcg== ",
        "From": "Andrzej Ostruszka <aostruszka@marvell.com>",
        "To": "<dev@dpdk.org>, Wenzhuo Lu <wenzhuo.lu@intel.com>",
        "CC": "<mattias.ronnblom@ericsson.com>, <stephen@networkplumber.org>",
        "Date": "Tue, 22 Oct 2019 13:54:09 +0200",
        "Message-ID": "<20191022115412.8837-8-aostruszka@marvell.com>",
        "X-Mailer": "git-send-email 2.17.1",
        "In-Reply-To": "<20191022115412.8837-1-aostruszka@marvell.com>",
        "References": "<20190917075754.8310-1-amo@semihalf.com>\n\t<20191022115412.8837-1-aostruszka@marvell.com>",
        "MIME-Version": "1.0",
        "Content-Type": "text/plain; charset=\"UTF-8\"",
        "Content-Transfer-Encoding": "8bit",
        "X-Proofpoint-Virus-Version": "vendor=fsecure engine=2.50.10434:6.0.95,1.0.8\n\tdefinitions=2019-10-22_03:2019-10-22,2019-10-22 signatures=0",
        "Subject": "[dpdk-dev] [PATCH v4 07/10] net/e1000: clean LTO build warnings\n\t(maybe-uninitialized)",
        "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\t<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\t<mailto:dev-request@dpdk.org?subject=subscribe>",
        "Errors-To": "dev-bounces@dpdk.org",
        "Sender": "\"dev\" <dev-bounces@dpdk.org>"
    },
    "content": "During LTO build compiler reports some 'false positive' warnings about\nvariables being possibly used uninitialized.  This patch silences these\nwarnings.\n\nExemplary compiler warning to suppress (with LTO enabled):\nerror: ‘link’ may be used uninitialized in this function\n[-Werror=maybe-uninitialized]\n  if (link) {\n\nSigned-off-by: Andrzej Ostruszka <aostruszka@marvell.com>\n---\n drivers/net/e1000/base/e1000_82543.c   | 2 +-\n drivers/net/e1000/base/e1000_ich8lan.c | 2 +-\n drivers/net/e1000/base/e1000_phy.c     | 2 +-\n 3 files changed, 3 insertions(+), 3 deletions(-)",
    "diff": "diff --git a/drivers/net/e1000/base/e1000_82543.c b/drivers/net/e1000/base/e1000_82543.c\nindex 810899eb6..dfde2a8b9 100644\n--- a/drivers/net/e1000/base/e1000_82543.c\n+++ b/drivers/net/e1000/base/e1000_82543.c\n@@ -1027,7 +1027,7 @@ STATIC s32 e1000_setup_copper_link_82543(struct e1000_hw *hw)\n {\n \tu32 ctrl;\n \ts32 ret_val;\n-\tbool link;\n+\tbool link = true;\n \n \tDEBUGFUNC(\"e1000_setup_copper_link_82543\");\n \ndiff --git a/drivers/net/e1000/base/e1000_ich8lan.c b/drivers/net/e1000/base/e1000_ich8lan.c\nindex accc6ea01..5241cf698 100644\n--- a/drivers/net/e1000/base/e1000_ich8lan.c\n+++ b/drivers/net/e1000/base/e1000_ich8lan.c\n@@ -5533,7 +5533,7 @@ void e1000_igp3_phy_powerdown_workaround_ich8lan(struct e1000_hw *hw)\n void e1000_gig_downshift_workaround_ich8lan(struct e1000_hw *hw)\n {\n \ts32 ret_val;\n-\tu16 reg_data;\n+\tu16 reg_data = 0;\n \n \tDEBUGFUNC(\"e1000_gig_downshift_workaround_ich8lan\");\n \ndiff --git a/drivers/net/e1000/base/e1000_phy.c b/drivers/net/e1000/base/e1000_phy.c\nindex 7d08f836f..956c06747 100644\n--- a/drivers/net/e1000/base/e1000_phy.c\n+++ b/drivers/net/e1000/base/e1000_phy.c\n@@ -1664,7 +1664,7 @@ s32 e1000_copper_link_autoneg(struct e1000_hw *hw)\n s32 e1000_setup_copper_link_generic(struct e1000_hw *hw)\n {\n \ts32 ret_val;\n-\tbool link;\n+\tbool link = true;\n \n \tDEBUGFUNC(\"e1000_setup_copper_link_generic\");\n \n",
    "prefixes": [
        "v4",
        "07/10"
    ]
}