get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 59313,
    "url": "http://patches.dpdk.org/api/patches/59313/?format=api",
    "web_url": "http://patches.dpdk.org/project/dpdk/patch/20190917075754.8310-8-amo@semihalf.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": "<20190917075754.8310-8-amo@semihalf.com>",
    "list_archive_url": "https://inbox.dpdk.org/dev/20190917075754.8310-8-amo@semihalf.com",
    "date": "2019-09-17T07:57:51",
    "name": "[v2,07/10] net/e1000: fix maybe-uninitialized warnings for LTO build",
    "commit_ref": null,
    "pull_url": null,
    "state": "superseded",
    "archived": true,
    "hash": "1edb352799c96f183cfc9be384b161b2baeda051",
    "submitter": {
        "id": 1112,
        "url": "http://patches.dpdk.org/api/people/1112/?format=api",
        "name": "Andrzej Ostruszka",
        "email": "amo@semihalf.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/20190917075754.8310-8-amo@semihalf.com/mbox/",
    "series": [
        {
            "id": 6422,
            "url": "http://patches.dpdk.org/api/series/6422/?format=api",
            "web_url": "http://patches.dpdk.org/project/dpdk/list/?series=6422",
            "date": "2019-09-17T07:57:44",
            "name": "Add an option to use LTO for DPDK build",
            "version": 2,
            "mbox": "http://patches.dpdk.org/series/6422/mbox/"
        }
    ],
    "comments": "http://patches.dpdk.org/api/patches/59313/comments/",
    "check": "warning",
    "checks": "http://patches.dpdk.org/api/patches/59313/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 D90F21BFF8;\n\tTue, 17 Sep 2019 09:58:16 +0200 (CEST)",
            "from mail-lf1-f67.google.com (mail-lf1-f67.google.com\n\t[209.85.167.67]) by dpdk.org (Postfix) with ESMTP id 51A8D1BFB2\n\tfor <dev@dpdk.org>; Tue, 17 Sep 2019 09:58:03 +0200 (CEST)",
            "by mail-lf1-f67.google.com with SMTP id d17so2080028lfa.7\n\tfor <dev@dpdk.org>; Tue, 17 Sep 2019 00:58:03 -0700 (PDT)",
            "from localhost.localdomain (31-172-191-173.noc.fibertech.net.pl.\n\t[31.172.191.173]) by smtp.googlemail.com with ESMTPSA id\n\tg1sm270659ljl.31.2019.09.17.00.58.02\n\t(version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);\n\tTue, 17 Sep 2019 00:58:02 -0700 (PDT)"
        ],
        "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed;\n\td=semihalf-com.20150623.gappssmtp.com; s=20150623;\n\th=from:to:cc:subject:date:message-id:in-reply-to:references;\n\tbh=7jCDBD5xtBN9LxzL+nGbDtGF7tYbSN/1tYB0BWCOYvg=;\n\tb=ETEGBuHwxsK9fD+ByAfR9sK6jRF8MEZzqOUT+OpPG/TpIwiRma149rL5pTsnzR31u+\n\tnfie+SDDfjO911lwTC972qIEpNgqio1KSTzp/a84o5kE+LjlvxnMSRVxHSSBz8nwjkgQ\n\tJ+PhCF2/TQfp3VpgTrgRVMKi400eGnqNtCCZG3TO79xvvSVZFXCSSc+q/Z7p6eYh1VMl\n\tAZ526x7+aPTyE2ZVfAcGmHILYzjfs2nI4zMREp0WqcLIW6CEbzRgwTb+gfvBiOun3I15\n\t62u9PQxEO7F9gURMKf3c9dSQI3Z8CrsUudRAQ0yOIXq+vb/6jCtC91XeRSxkqUcv+UtZ\n\tFzeA==",
        "X-Google-DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed;\n\td=1e100.net; s=20161025;\n\th=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to\n\t:references;\n\tbh=7jCDBD5xtBN9LxzL+nGbDtGF7tYbSN/1tYB0BWCOYvg=;\n\tb=NRNcssBRuBtL+Fj6OK4riq9wxvfYJ7q1OAu7ZWhH9IHaL9teZ4M0wNiI3e1jiDVvc1\n\tkUMpfWMEHQHtrDpZxMrQ1KnwQVEKu+4ZpXON2PFb9GOoNL5Pke5hTzTVLQULux5jJTYD\n\tHzHvl7P0EBqHU+nxzQXmbXD7kXkh9P2GUfQ3S6YHC8RU6mypeR6VuDbcvVXJYTx6Ot+g\n\tTy5Rzba3ofzF70IJB3qQHCV5MZIlzrg3s1NBdr8oQ1OVc+zNfk0IWKAIUn2xHab279v3\n\tt4Jr4dWgIgS8GsRU9YVx+yc4qkYWriIDIuk5l4mxVm3fg/7rB0M0+L+C/mQpV5X2khyY\n\tFLjQ==",
        "X-Gm-Message-State": "APjAAAWqRLaI6foIRmMsMAST5d9zmvkQ2eIIxO/XlJ6GFXIfQOKPC/hy\n\tfjNAUg8io99PsnHD+XIlKehUMRIDBwhviA==",
        "X-Google-Smtp-Source": "APXvYqzYXmoYppRDH8divyVlXJC8aQJGWhd/CG8iq7wXXWbLYnmXEAc9/qV6Wi8kDjIcxyPs2ZXr5w==",
        "X-Received": "by 2002:a19:f707:: with SMTP id z7mr1410546lfe.142.1568707082730;\n\tTue, 17 Sep 2019 00:58:02 -0700 (PDT)",
        "From": "Andrzej Ostruszka <amo@semihalf.com>",
        "To": "dev@dpdk.org,\n\tWenzhuo Lu <wenzhuo.lu@intel.com>",
        "Cc": "mattias.ronnblom@ericsson.com, stephen@networkplumber.org,\n\tAndrzej Ostruszka <aostruszka@marvell.com>",
        "Date": "Tue, 17 Sep 2019 09:57:51 +0200",
        "Message-Id": "<20190917075754.8310-8-amo@semihalf.com>",
        "X-Mailer": "git-send-email 2.17.1",
        "In-Reply-To": "<20190917075754.8310-1-amo@semihalf.com>",
        "References": "<20190917075754.8310-1-amo@semihalf.com>",
        "Subject": "[dpdk-dev] [PATCH v2 07/10] net/e1000: fix maybe-uninitialized\n\twarnings for LTO build",
        "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\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": [
        "v2",
        "07/10"
    ]
}