get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 618943,
    "url": "http://patchwork.ozlabs.org/api/patches/618943/?format=api",
    "web_url": "http://patchwork.ozlabs.org/project/intel-wired-lan/patch/20160505131802.GA3038@mwanda/",
    "project": {
        "id": 46,
        "url": "http://patchwork.ozlabs.org/api/projects/46/?format=api",
        "name": "Intel Wired Ethernet development",
        "link_name": "intel-wired-lan",
        "list_id": "intel-wired-lan.osuosl.org",
        "list_email": "intel-wired-lan@osuosl.org",
        "web_url": "",
        "scm_url": "",
        "webscm_url": "",
        "list_archive_url": "",
        "list_archive_url_format": "",
        "commit_url_format": ""
    },
    "msgid": "<20160505131802.GA3038@mwanda>",
    "list_archive_url": null,
    "date": "2016-05-05T13:18:02",
    "name": "i40e: fix an uninitialized variable bug",
    "commit_ref": null,
    "pull_url": null,
    "state": "accepted",
    "archived": false,
    "hash": "21764aba7e7a60c31fa6551b93acb3865f44446b",
    "submitter": {
        "id": 9327,
        "url": "http://patchwork.ozlabs.org/api/people/9327/?format=api",
        "name": "Dan Carpenter",
        "email": "dan.carpenter@oracle.com"
    },
    "delegate": {
        "id": 68,
        "url": "http://patchwork.ozlabs.org/api/users/68/?format=api",
        "username": "jtkirshe",
        "first_name": "Jeff",
        "last_name": "Kirsher",
        "email": "jeffrey.t.kirsher@intel.com"
    },
    "mbox": "http://patchwork.ozlabs.org/project/intel-wired-lan/patch/20160505131802.GA3038@mwanda/mbox/",
    "series": [],
    "comments": "http://patchwork.ozlabs.org/api/patches/618943/comments/",
    "check": "pending",
    "checks": "http://patchwork.ozlabs.org/api/patches/618943/checks/",
    "tags": {},
    "related": [],
    "headers": {
        "Return-Path": "<intel-wired-lan-bounces@lists.osuosl.org>",
        "X-Original-To": [
            "incoming@patchwork.ozlabs.org",
            "intel-wired-lan@lists.osuosl.org"
        ],
        "Delivered-To": [
            "patchwork-incoming@bilbo.ozlabs.org",
            "intel-wired-lan@lists.osuosl.org"
        ],
        "Received": [
            "from whitealder.osuosl.org (smtp1.osuosl.org [140.211.166.138])\n\tby ozlabs.org (Postfix) with ESMTP id 3r0wTL4Zq4z9t3V\n\tfor <incoming@patchwork.ozlabs.org>;\n\tThu,  5 May 2016 23:18:30 +1000 (AEST)",
            "from localhost (localhost [127.0.0.1])\n\tby whitealder.osuosl.org (Postfix) with ESMTP id B7DD886BA1;\n\tThu,  5 May 2016 13:18:29 +0000 (UTC)",
            "from whitealder.osuosl.org ([127.0.0.1])\n\tby localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024)\n\twith ESMTP id 87dSMhMp66we; Thu,  5 May 2016 13:18:29 +0000 (UTC)",
            "from ash.osuosl.org (ash.osuosl.org [140.211.166.34])\n\tby whitealder.osuosl.org (Postfix) with ESMTP id 0B0AE87B4A;\n\tThu,  5 May 2016 13:18:29 +0000 (UTC)",
            "from hemlock.osuosl.org (smtp2.osuosl.org [140.211.166.133])\n\tby ash.osuosl.org (Postfix) with ESMTP id 139351CE798\n\tfor <intel-wired-lan@lists.osuosl.org>;\n\tThu,  5 May 2016 13:18:28 +0000 (UTC)",
            "from localhost (localhost [127.0.0.1])\n\tby hemlock.osuosl.org (Postfix) with ESMTP id 0ECF487EDE\n\tfor <intel-wired-lan@lists.osuosl.org>;\n\tThu,  5 May 2016 13:18:28 +0000 (UTC)",
            "from hemlock.osuosl.org ([127.0.0.1])\n\tby localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024)\n\twith ESMTP id QUGlo7MTrij8 for <intel-wired-lan@lists.osuosl.org>;\n\tThu,  5 May 2016 13:18:24 +0000 (UTC)",
            "from aserp1040.oracle.com (aserp1040.oracle.com [141.146.126.69])\n\tby hemlock.osuosl.org (Postfix) with ESMTPS id 579799338B\n\tfor <intel-wired-lan@lists.osuosl.org>;\n\tThu,  5 May 2016 13:18:24 +0000 (UTC)",
            "from aserv0022.oracle.com (aserv0022.oracle.com [141.146.126.234])\n\tby aserp1040.oracle.com (Sentrion-MTA-4.3.2/Sentrion-MTA-4.3.2)\n\twith ESMTP id u45DILgM008651\n\t(version=TLSv1 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK);\n\tThu, 5 May 2016 13:18:21 GMT",
            "from userv0122.oracle.com (userv0122.oracle.com [156.151.31.75])\n\tby aserv0022.oracle.com (8.13.8/8.13.8) with ESMTP id u45DIKeE027821\n\t(version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK);\n\tThu, 5 May 2016 13:18:21 GMT",
            "from abhmp0014.oracle.com (abhmp0014.oracle.com [141.146.116.20])\n\tby userv0122.oracle.com (8.14.4/8.14.4) with ESMTP id\n\tu45DIJQi020487; Thu, 5 May 2016 13:18:20 GMT",
            "from mwanda (/154.0.139.178) by default (Oracle Beehive Gateway\n\tv4.0) with ESMTP ; Thu, 05 May 2016 06:18:19 -0700"
        ],
        "X-Virus-Scanned": [
            "amavisd-new at osuosl.org",
            "amavisd-new at osuosl.org"
        ],
        "X-Greylist": "domain auto-whitelisted by SQLgrey-1.7.6",
        "Date": "Thu, 5 May 2016 16:18:02 +0300",
        "From": "Dan Carpenter <dan.carpenter@oracle.com>",
        "To": "Jeff Kirsher <jeffrey.t.kirsher@intel.com>,\n\tJesse Brandeburg <jesse.brandeburg@intel.com>",
        "Message-ID": "<20160505131802.GA3038@mwanda>",
        "MIME-Version": "1.0",
        "Content-Disposition": "inline",
        "User-Agent": "Mutt/1.5.24 (2015-08-30)",
        "X-Source-IP": "aserv0022.oracle.com [141.146.126.234]",
        "Cc": "kernel-janitors@vger.kernel.org, linux-kernel@vger.kernel.org,\n\tintel-wired-lan@lists.osuosl.org, netdev@vger.kernel.org",
        "Subject": "[Intel-wired-lan] [patch] i40e: fix an uninitialized variable bug",
        "X-BeenThere": "intel-wired-lan@lists.osuosl.org",
        "X-Mailman-Version": "2.1.18-1",
        "Precedence": "list",
        "List-Id": "Intel Wired Ethernet Linux Kernel Driver Development\n\t<intel-wired-lan.lists.osuosl.org>",
        "List-Unsubscribe": "<http://lists.osuosl.org/mailman/options/intel-wired-lan>, \n\t<mailto:intel-wired-lan-request@lists.osuosl.org?subject=unsubscribe>",
        "List-Archive": "<http://lists.osuosl.org/pipermail/intel-wired-lan/>",
        "List-Post": "<mailto:intel-wired-lan@lists.osuosl.org>",
        "List-Help": "<mailto:intel-wired-lan-request@lists.osuosl.org?subject=help>",
        "List-Subscribe": "<http://lists.osuosl.org/mailman/listinfo/intel-wired-lan>, \n\t<mailto:intel-wired-lan-request@lists.osuosl.org?subject=subscribe>",
        "Content-Type": "text/plain; charset=\"us-ascii\"",
        "Content-Transfer-Encoding": "7bit",
        "Errors-To": "intel-wired-lan-bounces@lists.osuosl.org",
        "Sender": "\"Intel-wired-lan\" <intel-wired-lan-bounces@lists.osuosl.org>"
    },
    "content": "We removed this initialization but it is required.  Let's put it back.\n\nFixes: 895106a577c4 ('i40e: trivial fixes')\nSigned-off-by: Dan Carpenter <dan.carpenter@oracle.com>",
    "diff": "diff --git a/drivers/net/ethernet/intel/i40e/i40e_hmc.c b/drivers/net/ethernet/intel/i40e/i40e_hmc.c\nindex 5ebe12d..a7c7b1d 100644\n--- a/drivers/net/ethernet/intel/i40e/i40e_hmc.c\n+++ b/drivers/net/ethernet/intel/i40e/i40e_hmc.c\n@@ -49,7 +49,7 @@ i40e_status i40e_add_sd_table_entry(struct i40e_hw *hw,\n \tstruct i40e_hmc_sd_entry *sd_entry;\n \tbool dma_mem_alloc_done = false;\n \tstruct i40e_dma_mem mem;\n-\ti40e_status ret_code;\n+\ti40e_status ret_code = I40E_SUCCESS;\n \tu64 alloc_len;\n \n \tif (NULL == hmc_info->sd_table.sd_entry) {\n",
    "prefixes": []
}