get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 562150,
    "url": "http://patchwork.ozlabs.org/api/patches/562150/?format=api",
    "web_url": "http://patchwork.ozlabs.org/project/intel-wired-lan/patch/1451803496-16693-1-git-send-email-Julia.Lawall@lip6.fr/",
    "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": "<1451803496-16693-1-git-send-email-Julia.Lawall@lip6.fr>",
    "list_archive_url": null,
    "date": "2016-01-03T06:44:56",
    "name": "igb: constify e1000_phy_operations structure",
    "commit_ref": null,
    "pull_url": null,
    "state": "accepted",
    "archived": false,
    "hash": "0adba4015cb1dcf4988a18e0d22b8f551546aa9d",
    "submitter": {
        "id": 10041,
        "url": "http://patchwork.ozlabs.org/api/people/10041/?format=api",
        "name": "Julia Lawall",
        "email": "julia.lawall@lip6.fr"
    },
    "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/1451803496-16693-1-git-send-email-Julia.Lawall@lip6.fr/mbox/",
    "series": [],
    "comments": "http://patchwork.ozlabs.org/api/patches/562150/comments/",
    "check": "pending",
    "checks": "http://patchwork.ozlabs.org/api/patches/562150/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 F008C140556\n\tfor <incoming@patchwork.ozlabs.org>;\n\tSun,  3 Jan 2016 17:57:49 +1100 (AEDT)",
            "from localhost (localhost [127.0.0.1])\n\tby whitealder.osuosl.org (Postfix) with ESMTP id 711FE88259;\n\tSun,  3 Jan 2016 06:57:48 +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 CgVWlc3P9786; Sun,  3 Jan 2016 06:57:47 +0000 (UTC)",
            "from ash.osuosl.org (ash.osuosl.org [140.211.166.34])\n\tby whitealder.osuosl.org (Postfix) with ESMTP id 141D9881C9;\n\tSun,  3 Jan 2016 06:57:47 +0000 (UTC)",
            "from hemlock.osuosl.org (smtp2.osuosl.org [140.211.166.133])\n\tby ash.osuosl.org (Postfix) with ESMTP id 968521C0F89\n\tfor <intel-wired-lan@lists.osuosl.org>;\n\tSun,  3 Jan 2016 06:57:45 +0000 (UTC)",
            "from localhost (localhost [127.0.0.1])\n\tby hemlock.osuosl.org (Postfix) with ESMTP id 9175287EEA\n\tfor <intel-wired-lan@lists.osuosl.org>;\n\tSun,  3 Jan 2016 06:57:45 +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 QDVS0hSbBZbb for <intel-wired-lan@lists.osuosl.org>;\n\tSun,  3 Jan 2016 06:57:44 +0000 (UTC)",
            "from mail2-relais-roc.national.inria.fr\n\t(mail2-relais-roc.national.inria.fr [192.134.164.83])\n\tby hemlock.osuosl.org (Postfix) with ESMTPS id 9C85D87E47\n\tfor <intel-wired-lan@lists.osuosl.org>;\n\tSun,  3 Jan 2016 06:57:43 +0000 (UTC)",
            "from palace.lip6.fr (HELO localhost.localdomain)\n\t([132.227.105.202])\n\tby mail2-relais-roc.national.inria.fr with ESMTP/TLS/AES128-SHA256;\n\t03 Jan 2016 07:57:40 +0100"
        ],
        "X-Virus-Scanned": [
            "amavisd-new at osuosl.org",
            "amavisd-new at osuosl.org"
        ],
        "X-Greylist": "domain auto-whitelisted by SQLgrey-1.7.6",
        "X-IronPort-AV": "E=Sophos;i=\"5.20,515,1444687200\"; d=\"scan'208\";a=\"195321158\"",
        "From": "Julia Lawall <Julia.Lawall@lip6.fr>",
        "To": "Jeff Kirsher <jeffrey.t.kirsher@intel.com>",
        "Date": "Sun,  3 Jan 2016 07:44:56 +0100",
        "Message-Id": "<1451803496-16693-1-git-send-email-Julia.Lawall@lip6.fr>",
        "X-Mailer": "git-send-email 1.9.1",
        "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] igb: constify e1000_phy_operations\n\tstructure",
        "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": "This e1000_phy_operations structure is never modified, so declare it as\nconst.  Other structures of this type are already const.\n\nDone with the help of Coccinelle.\n\nSigned-off-by: Julia Lawall <Julia.Lawall@lip6.fr>\n\n---\n drivers/net/ethernet/intel/igb/e1000_82575.c |    2 +-\n drivers/net/ethernet/intel/igb/e1000_hw.h    |    2 +-\n 2 files changed, 2 insertions(+), 2 deletions(-)",
    "diff": "diff --git a/drivers/net/ethernet/intel/igb/e1000_82575.c b/drivers/net/ethernet/intel/igb/e1000_82575.c\nindex adb33e2..1ea27bf 100644\n--- a/drivers/net/ethernet/intel/igb/e1000_82575.c\n+++ b/drivers/net/ethernet/intel/igb/e1000_82575.c\n@@ -2889,7 +2889,7 @@ static struct e1000_mac_operations e1000_mac_ops_82575 = {\n #endif\n };\n \n-static struct e1000_phy_operations e1000_phy_ops_82575 = {\n+static const struct e1000_phy_operations e1000_phy_ops_82575 = {\n \t.acquire              = igb_acquire_phy_82575,\n \t.get_cfg_done         = igb_get_cfg_done_82575,\n \t.release              = igb_release_phy_82575,\ndiff --git a/drivers/net/ethernet/intel/igb/e1000_hw.h b/drivers/net/ethernet/intel/igb/e1000_hw.h\nindex 4034207..a34d640 100644\n--- a/drivers/net/ethernet/intel/igb/e1000_hw.h\n+++ b/drivers/net/ethernet/intel/igb/e1000_hw.h\n@@ -372,7 +372,7 @@ struct e1000_thermal_sensor_data {\n struct e1000_info {\n \ts32 (*get_invariants)(struct e1000_hw *);\n \tstruct e1000_mac_operations *mac_ops;\n-\tstruct e1000_phy_operations *phy_ops;\n+\tconst struct e1000_phy_operations *phy_ops;\n \tstruct e1000_nvm_operations *nvm_ops;\n };\n \n",
    "prefixes": []
}