get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 517284,
    "url": "http://patchwork.ozlabs.org/api/patches/517284/?format=api",
    "web_url": "http://patchwork.ozlabs.org/project/intel-wired-lan/patch/1442212070-24937-7-git-send-email-sakiwit@gmail.com/",
    "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": "<1442212070-24937-7-git-send-email-sakiwit@gmail.com>",
    "list_archive_url": null,
    "date": "2015-09-14T06:27:48",
    "name": "[next-queue,6/8] i40e: declare rather than initialize int object",
    "commit_ref": null,
    "pull_url": null,
    "state": "superseded",
    "archived": false,
    "hash": "742a179a837ed3551b7e2aba923f00f3b6325cf9",
    "submitter": {
        "id": 8799,
        "url": "http://patchwork.ozlabs.org/api/people/8799/?format=api",
        "name": "Jεan Sacren",
        "email": "sakiwit@gmail.com"
    },
    "delegate": null,
    "mbox": "http://patchwork.ozlabs.org/project/intel-wired-lan/patch/1442212070-24937-7-git-send-email-sakiwit@gmail.com/mbox/",
    "series": [],
    "comments": "http://patchwork.ozlabs.org/api/patches/517284/comments/",
    "check": "pending",
    "checks": "http://patchwork.ozlabs.org/api/patches/517284/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 hemlock.osuosl.org (smtp2.osuosl.org [140.211.166.133])\n\tby ozlabs.org (Postfix) with ESMTP id 60F79140D17\n\tfor <incoming@patchwork.ozlabs.org>;\n\tMon, 14 Sep 2015 16:25:13 +1000 (AEST)",
            "from localhost (localhost [127.0.0.1])\n\tby hemlock.osuosl.org (Postfix) with ESMTP id 9977D960A6;\n\tMon, 14 Sep 2015 06:25:12 +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 YieK0Ru-UWWx; Mon, 14 Sep 2015 06:25:11 +0000 (UTC)",
            "from ash.osuosl.org (ash.osuosl.org [140.211.166.34])\n\tby hemlock.osuosl.org (Postfix) with ESMTP id 09E8294FF2;\n\tMon, 14 Sep 2015 06:25:11 +0000 (UTC)",
            "from fraxinus.osuosl.org (smtp4.osuosl.org [140.211.166.137])\n\tby ash.osuosl.org (Postfix) with ESMTP id C81101CEDF3\n\tfor <intel-wired-lan@lists.osuosl.org>;\n\tMon, 14 Sep 2015 06:25:08 +0000 (UTC)",
            "from localhost (localhost [127.0.0.1])\n\tby fraxinus.osuosl.org (Postfix) with ESMTP id C517AA4C41\n\tfor <intel-wired-lan@lists.osuosl.org>;\n\tMon, 14 Sep 2015 06:25:08 +0000 (UTC)",
            "from fraxinus.osuosl.org ([127.0.0.1])\n\tby localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024)\n\twith ESMTP id qjSySJDHjBou for <intel-wired-lan@lists.osuosl.org>;\n\tMon, 14 Sep 2015 06:25:08 +0000 (UTC)",
            "from mail-pa0-f46.google.com (mail-pa0-f46.google.com\n\t[209.85.220.46])\n\tby fraxinus.osuosl.org (Postfix) with ESMTPS id 6941AA4C19\n\tfor <intel-wired-lan@lists.osuosl.org>;\n\tMon, 14 Sep 2015 06:25:08 +0000 (UTC)",
            "by padhk3 with SMTP id hk3so134385182pad.3\n\tfor <intel-wired-lan@lists.osuosl.org>;\n\tSun, 13 Sep 2015 23:25:08 -0700 (PDT)",
            "from localhost ([67.214.236.25]) by smtp.gmail.com with ESMTPSA id\n\tqn6sm13821392pbc.22.2015.09.13.23.25.07\n\t(version=TLSv1.2 cipher=AES128-GCM-SHA256 bits=128/128);\n\tSun, 13 Sep 2015 23:25:07 -0700 (PDT)"
        ],
        "Authentication-Results": "ozlabs.org;\n\tdkim=fail reason=\"signature verification failed\" (2048-bit key;\n\tunprotected) header.d=gmail.com header.i=@gmail.com header.b=wuZuJ3Cp;\n\tdkim-atps=neutral",
        "X-Virus-Scanned": [
            "amavisd-new at osuosl.org",
            "amavisd-new at osuosl.org"
        ],
        "X-Greylist": "domain auto-whitelisted by SQLgrey-1.7.6",
        "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;\n\th=from:to:subject:date:message-id:in-reply-to:references;\n\tbh=y6f2b8NM5/5rI3bz2H4z1CKRu5m4Q5w+9VmIsYMgCsU=;\n\tb=wuZuJ3Cp5XZ9o2SwbLzB7bRrkL+PBgv28V4OokEql0UeCjSlB3ububDYFn3NLVA6dl\n\tEw0pM9vGChDlaIHmeOx0U3XmUwcJiDrq6M8vOd3XtbJcbpECxckxVSF1DYdFM6BrqHjK\n\tBIoxrNIVUu403ztlWh/+z9fU4WBwfkw/RZ0d5hNZ9HOPp553Xi6pKcyopl/8f/guJ9FC\n\tKykdois/BidQXtiEgapEh3GbdJn72NI5zQqxTYrAUU41EmREb7j+m1MqTncicnzsLyvl\n\tQFlF0V+DG3LNnNgjhwE7PLoPk4L02MqpiQ7WiWvCZveOUcZ8EgZUFD/1Dmdtbn8QQLU7\n\t83mw==",
        "X-Received": "by 10.66.159.197 with SMTP id xe5mr31747443pab.32.1442211908213; \n\tSun, 13 Sep 2015 23:25:08 -0700 (PDT)",
        "From": "=?UTF-8?q?J=CE=B5an=20Sacren?= <sakiwit@gmail.com>",
        "To": "intel-wired-lan@lists.osuosl.org",
        "Date": "Mon, 14 Sep 2015 00:27:48 -0600",
        "Message-Id": "<1442212070-24937-7-git-send-email-sakiwit@gmail.com>",
        "X-Mailer": "git-send-email 2.4.6",
        "In-Reply-To": "<1442212070-24937-1-git-send-email-sakiwit@gmail.com>",
        "References": "<1442212070-24937-1-git-send-email-sakiwit@gmail.com>",
        "Subject": "[Intel-wired-lan] [next-queue 6/8] i40e: declare rather than\n\tinitialize int object",
        "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>",
        "MIME-Version": "1.0",
        "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": "From: Jean Sacren <sakiwit@gmail.com>\n\n'err' would be overwritten immediately, so we should declare it only\nrather than initialize it to zero.\n\nSigned-off-by: Jean Sacren <sakiwit@gmail.com>\n---\n drivers/net/ethernet/intel/i40e/i40e_main.c | 2 +-\n 1 file changed, 1 insertion(+), 1 deletion(-)",
    "diff": "diff --git a/drivers/net/ethernet/intel/i40e/i40e_main.c b/drivers/net/ethernet/intel/i40e/i40e_main.c\nindex 23e0a4b007a2..91224b38cbd3 100644\n--- a/drivers/net/ethernet/intel/i40e/i40e_main.c\n+++ b/drivers/net/ethernet/intel/i40e/i40e_main.c\n@@ -10140,7 +10140,7 @@ static int i40e_probe(struct pci_dev *pdev, const struct pci_device_id *ent)\n \tstatic u16 pfs_found;\n \tu16 wol_nvm_bits;\n \tu16 link_status;\n-\tint err = 0;\n+\tint err;\n \tu32 len;\n \tu32 i;\n \n",
    "prefixes": [
        "next-queue",
        "6/8"
    ]
}