get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 519713,
    "url": "http://patchwork.ozlabs.org/api/patches/519713/?format=api",
    "web_url": "http://patchwork.ozlabs.org/project/intel-wired-lan/patch/1442660927-30431-6-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": "<1442660927-30431-6-git-send-email-sakiwit@gmail.com>",
    "list_archive_url": null,
    "date": "2015-09-19T11:08:45",
    "name": "[next-queue,v2,6/8] i40e: declare rather than initialize int object",
    "commit_ref": null,
    "pull_url": null,
    "state": "accepted",
    "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": {
        "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/1442660927-30431-6-git-send-email-sakiwit@gmail.com/mbox/",
    "series": [],
    "comments": "http://patchwork.ozlabs.org/api/patches/519713/comments/",
    "check": "pending",
    "checks": "http://patchwork.ozlabs.org/api/patches/519713/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 DBBA81400A0\n\tfor <incoming@patchwork.ozlabs.org>;\n\tSat, 19 Sep 2015 21:06:15 +1000 (AEST)",
            "from localhost (localhost [127.0.0.1])\n\tby hemlock.osuosl.org (Postfix) with ESMTP id D757987E9C;\n\tSat, 19 Sep 2015 11:06:14 +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 HDCcYEyoygLc; Sat, 19 Sep 2015 11:06:13 +0000 (UTC)",
            "from ash.osuosl.org (ash.osuosl.org [140.211.166.34])\n\tby hemlock.osuosl.org (Postfix) with ESMTP id 335AD8A97B;\n\tSat, 19 Sep 2015 11:06:13 +0000 (UTC)",
            "from whitealder.osuosl.org (smtp1.osuosl.org [140.211.166.138])\n\tby ash.osuosl.org (Postfix) with ESMTP id C84E71BFE29\n\tfor <intel-wired-lan@lists.osuosl.org>;\n\tSat, 19 Sep 2015 11:06:07 +0000 (UTC)",
            "from localhost (localhost [127.0.0.1])\n\tby whitealder.osuosl.org (Postfix) with ESMTP id C17B8911E5\n\tfor <intel-wired-lan@lists.osuosl.org>;\n\tSat, 19 Sep 2015 11:06:07 +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 PetHjeaQ92kQ for <intel-wired-lan@lists.osuosl.org>;\n\tSat, 19 Sep 2015 11:06:07 +0000 (UTC)",
            "from mail-pa0-f49.google.com (mail-pa0-f49.google.com\n\t[209.85.220.49])\n\tby whitealder.osuosl.org (Postfix) with ESMTPS id 4E82890E0E\n\tfor <intel-wired-lan@lists.osuosl.org>;\n\tSat, 19 Sep 2015 11:06:07 +0000 (UTC)",
            "by padhy16 with SMTP id hy16so73423942pad.1\n\tfor <intel-wired-lan@lists.osuosl.org>;\n\tSat, 19 Sep 2015 04:06:07 -0700 (PDT)",
            "from localhost ([67.214.236.25]) by smtp.gmail.com with ESMTPSA id\n\tl16sm13945483pbq.22.2015.09.19.04.06.06\n\t(version=TLS1_2 cipher=AES128-GCM-SHA256 bits=128/128);\n\tSat, 19 Sep 2015 04:06:06 -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=SQA0+RcV;\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=9iMjMH9cu6YZxWq3SH+5PXFQaUTPfOl0r56MzK7iLR4=;\n\tb=SQA0+RcVtC5Xxgi/jkGurOL2WYh3EZeX5a8wAHHSZqSeLgsZPOSMM90UGNBeVNSANc\n\twImaMWacQrVtnLAybJ4wj2WP4sLnUApKOqr65YVd6T/hmquiIqtCJdMvZmmJ0W9+Noju\n\tNoCQLtW0kkt+r5xsfrWrh5q5snui8Wxo/ToNgzSenQwsFIWpUXo5g5YqN2lil8j2PgO9\n\tRb0Kp026ZwJyuaW0esv2b+bovXCbXm8gXvW9+f0DV83im2TapSuX6NClAtsgC/a7RKvc\n\t3d6xZLBiyCw2sXpXzGdvu5S+NRxGLvOCjotck43aziV9iVBMIgHGsHAx2R9B1EkmIjYJ\n\tlBnA==",
        "X-Received": "by 10.68.230.33 with SMTP id sv1mr13030851pbc.160.1442660766962; \n\tSat, 19 Sep 2015 04:06:06 -0700 (PDT)",
        "From": "=?UTF-8?q?J=CE=B5an=20Sacren?= <sakiwit@gmail.com>",
        "To": "intel-wired-lan@lists.osuosl.org",
        "Date": "Sat, 19 Sep 2015 05:08:45 -0600",
        "Message-Id": "<1442660927-30431-6-git-send-email-sakiwit@gmail.com>",
        "X-Mailer": "git-send-email 2.4.6",
        "In-Reply-To": "<1442660927-30431-1-git-send-email-sakiwit@gmail.com>",
        "References": "<1442660927-30431-1-git-send-email-sakiwit@gmail.com>",
        "Subject": "[Intel-wired-lan] [next-queue v2 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---\nv2: No changes.\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 2d8c0cc23fcf..7551732a2b52 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",
        "v2",
        "6/8"
    ]
}