get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 966,
    "url": "http://patchwork.ozlabs.org/api/patches/966/?format=api",
    "web_url": "http://patchwork.ozlabs.org/project/netdev/patch/200809222152.m8MLqPYL031984@imap1.linux-foundation.org/",
    "project": {
        "id": 7,
        "url": "http://patchwork.ozlabs.org/api/projects/7/?format=api",
        "name": "Linux network development",
        "link_name": "netdev",
        "list_id": "netdev.vger.kernel.org",
        "list_email": "netdev@vger.kernel.org",
        "web_url": null,
        "scm_url": null,
        "webscm_url": null,
        "list_archive_url": "",
        "list_archive_url_format": "",
        "commit_url_format": ""
    },
    "msgid": "<200809222152.m8MLqPYL031984@imap1.linux-foundation.org>",
    "list_archive_url": null,
    "date": "2008-09-22T21:52:25",
    "name": "[16/21] atl1e: remove the unneeded (struct atl1e_adapter *)",
    "commit_ref": null,
    "pull_url": null,
    "state": "accepted",
    "archived": true,
    "hash": "9f468e18b623ed75b34532862b0d2e2792ad8fe2",
    "submitter": {
        "id": 107,
        "url": "http://patchwork.ozlabs.org/api/people/107/?format=api",
        "name": "Andrew Morton",
        "email": "akpm@linux-foundation.org"
    },
    "delegate": {
        "id": 36,
        "url": "http://patchwork.ozlabs.org/api/users/36/?format=api",
        "username": "jgarzik",
        "first_name": "Jeff",
        "last_name": "Garzik",
        "email": "jgarzik@pobox.com"
    },
    "mbox": "http://patchwork.ozlabs.org/project/netdev/patch/200809222152.m8MLqPYL031984@imap1.linux-foundation.org/mbox/",
    "series": [],
    "comments": "http://patchwork.ozlabs.org/api/patches/966/comments/",
    "check": "pending",
    "checks": "http://patchwork.ozlabs.org/api/patches/966/checks/",
    "tags": {},
    "related": [],
    "headers": {
        "Return-Path": "<netdev-owner@vger.kernel.org>",
        "X-Original-To": "patchwork-incoming@ozlabs.org",
        "Delivered-To": "patchwork-incoming@ozlabs.org",
        "Received": [
            "from vger.kernel.org (vger.kernel.org [209.132.176.167])\n\tby ozlabs.org (Postfix) with ESMTP id B8595DDF35\n\tfor <patchwork-incoming@ozlabs.org>;\n\tTue, 23 Sep 2008 07:57:14 +1000 (EST)",
            "(majordomo@vger.kernel.org) by vger.kernel.org via listexpand\n\tid S1753866AbYIVV4x (ORCPT <rfc822;patchwork-incoming@ozlabs.org>);\n\tMon, 22 Sep 2008 17:56:53 -0400",
            "(majordomo@vger.kernel.org) by vger.kernel.org id S1753636AbYIVV4x\n\t(ORCPT <rfc822; netdev-outgoing>); Mon, 22 Sep 2008 17:56:53 -0400",
            "from smtp1.linux-foundation.org ([140.211.169.13]:55569 \"EHLO\n\tsmtp1.linux-foundation.org\" rhost-flags-OK-OK-OK-OK)\n\tby vger.kernel.org with ESMTP id S1753204AbYIVV4w (ORCPT\n\t<rfc822;netdev@vger.kernel.org>); Mon, 22 Sep 2008 17:56:52 -0400",
            "from imap1.linux-foundation.org (imap1.linux-foundation.org\n\t[140.211.169.55])\n\tby smtp1.linux-foundation.org (8.14.2/8.13.5/Debian-3ubuntu1.1) with\n\tESMTP id m8MLrDNn018507\n\t(version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO);\n\tMon, 22 Sep 2008 14:55:32 -0700",
            "from localhost.localdomain (localhost [127.0.0.1])\n\tby imap1.linux-foundation.org\n\t(8.13.5.20060308/8.13.5/Debian-3ubuntu1.1) with ESMTP id\n\tm8MLqPYL031984; Mon, 22 Sep 2008 14:52:25 -0700"
        ],
        "Message-Id": "<200809222152.m8MLqPYL031984@imap1.linux-foundation.org>",
        "Subject": "[patch 16/21] atl1e: remove the unneeded (struct atl1e_adapter *)",
        "To": "jeff@garzik.org",
        "Cc": "netdev@vger.kernel.org, akpm@linux-foundation.org, jie.yang@atheros.com",
        "From": "akpm@linux-foundation.org",
        "Date": "Mon, 22 Sep 2008 14:52:25 -0700",
        "X-Spam-Status": "No, hits=-3.359 required=5 tests=AWL, BAYES_00,\n\tOSDL_HEADER_SUBJECT_BRACKETED",
        "X-Spam-Checker-Version": "SpamAssassin 3.2.4-osdl_revision__1.47__",
        "X-MIMEDefang-Filter": "lf$Revision: 1.188 $",
        "X-Scanned-By": "MIMEDefang 2.63 on 140.211.169.13",
        "Sender": "netdev-owner@vger.kernel.org",
        "Precedence": "bulk",
        "List-ID": "<netdev.vger.kernel.org>",
        "X-Mailing-List": "netdev@vger.kernel.org"
    },
    "content": "From: Jie Yang <jie.yang@atheros.com>\n\nRemove the unneeded (struct atl1e_adapter *) casts, for hw->adapter\nalready has type atl1e_adapter *.\n\nSigned-off-by: Jie Yang <jie.yang@atheros.com>\nSigned-off-by: Andrew Morton <akpm@linux-foundation.org>\n---\n\n drivers/net/atl1e/atl1e_hw.c |    6 +++---\n 1 file changed, 3 insertions(+), 3 deletions(-)",
    "diff": "diff -puN drivers/net/atl1e/atl1e_hw.c~atl1e-remove-the-unneeded-struct-atl1e_adapter drivers/net/atl1e/atl1e_hw.c\n--- a/drivers/net/atl1e/atl1e_hw.c~atl1e-remove-the-unneeded-struct-atl1e_adapter\n+++ a/drivers/net/atl1e/atl1e_hw.c\n@@ -397,7 +397,7 @@ static int atl1e_phy_setup_autoneg_adv(s\n  */\n int atl1e_phy_commit(struct atl1e_hw *hw)\n {\n-\tstruct atl1e_adapter *adapter = (struct atl1e_adapter *)hw->adapter;\n+\tstruct atl1e_adapter *adapter = hw->adapter;\n \tstruct pci_dev *pdev = adapter->pdev;\n \tint ret_val;\n \tu16 phy_data;\n@@ -431,7 +431,7 @@ int atl1e_phy_commit(struct atl1e_hw *hw\n \n int atl1e_phy_init(struct atl1e_hw *hw)\n {\n-\tstruct atl1e_adapter *adapter = (struct atl1e_adapter *)hw->adapter;\n+\tstruct atl1e_adapter *adapter = hw->adapter;\n \tstruct pci_dev *pdev = adapter->pdev;\n \ts32 ret_val;\n \tu16 phy_val;\n@@ -525,7 +525,7 @@ int atl1e_phy_init(struct atl1e_hw *hw)\n  */\n int atl1e_reset_hw(struct atl1e_hw *hw)\n {\n-\tstruct atl1e_adapter *adapter = (struct atl1e_adapter *)hw->adapter;\n+\tstruct atl1e_adapter *adapter = hw->adapter;\n \tstruct pci_dev *pdev = adapter->pdev;\n \n \tu32 idle_status_data = 0;\n",
    "prefixes": [
        "16/21"
    ]
}