get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 807594,
    "url": "http://patchwork.ozlabs.org/api/patches/807594/?format=api",
    "web_url": "http://patchwork.ozlabs.org/project/netdev/patch/20170830111649.GA13000@kroah.com/",
    "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": "<20170830111649.GA13000@kroah.com>",
    "list_archive_url": null,
    "date": "2017-08-30T11:16:49",
    "name": "[v3,net-next] staging: irda: fix init level for irda core",
    "commit_ref": null,
    "pull_url": null,
    "state": "accepted",
    "archived": true,
    "hash": "2139c9a80434180f355169034920416918094262",
    "submitter": {
        "id": 11800,
        "url": "http://patchwork.ozlabs.org/api/people/11800/?format=api",
        "name": "Greg Kroah-Hartman",
        "email": "gregkh@linuxfoundation.org"
    },
    "delegate": {
        "id": 34,
        "url": "http://patchwork.ozlabs.org/api/users/34/?format=api",
        "username": "davem",
        "first_name": "David",
        "last_name": "Miller",
        "email": "davem@davemloft.net"
    },
    "mbox": "http://patchwork.ozlabs.org/project/netdev/patch/20170830111649.GA13000@kroah.com/mbox/",
    "series": [
        {
            "id": 590,
            "url": "http://patchwork.ozlabs.org/api/series/590/?format=api",
            "web_url": "http://patchwork.ozlabs.org/project/netdev/list/?series=590",
            "date": "2017-08-30T11:16:49",
            "name": "[v3,net-next] staging: irda: fix init level for irda core",
            "version": 3,
            "mbox": "http://patchwork.ozlabs.org/series/590/mbox/"
        }
    ],
    "comments": "http://patchwork.ozlabs.org/api/patches/807594/comments/",
    "check": "pending",
    "checks": "http://patchwork.ozlabs.org/api/patches/807594/checks/",
    "tags": {},
    "related": [],
    "headers": {
        "Return-Path": "<netdev-owner@vger.kernel.org>",
        "X-Original-To": "patchwork-incoming@ozlabs.org",
        "Delivered-To": "patchwork-incoming@ozlabs.org",
        "Authentication-Results": "ozlabs.org;\n\tspf=none (mailfrom) smtp.mailfrom=vger.kernel.org\n\t(client-ip=209.132.180.67; helo=vger.kernel.org;\n\tenvelope-from=netdev-owner@vger.kernel.org;\n\treceiver=<UNKNOWN>)",
        "Received": [
            "from vger.kernel.org (vger.kernel.org [209.132.180.67])\n\tby ozlabs.org (Postfix) with ESMTP id 3xj2yg0DKXz9sN7\n\tfor <patchwork-incoming@ozlabs.org>;\n\tWed, 30 Aug 2017 21:16:59 +1000 (AEST)",
            "(majordomo@vger.kernel.org) by vger.kernel.org via listexpand\n\tid S1751453AbdH3LQr (ORCPT <rfc822;patchwork-incoming@ozlabs.org>);\n\tWed, 30 Aug 2017 07:16:47 -0400",
            "from mail.linuxfoundation.org ([140.211.169.12]:58132 \"EHLO\n\tmail.linuxfoundation.org\" rhost-flags-OK-OK-OK-OK) by vger.kernel.org\n\twith ESMTP id S1751300AbdH3LQq (ORCPT\n\t<rfc822;netdev@vger.kernel.org>); Wed, 30 Aug 2017 07:16:46 -0400",
            "from localhost (LFbn-1-12253-150.w90-92.abo.wanadoo.fr\n\t[90.92.67.150])\n\tby mail.linuxfoundation.org (Postfix) with ESMTPSA id 4833D7A9;\n\tWed, 30 Aug 2017 11:16:45 +0000 (UTC)"
        ],
        "Date": "Wed, 30 Aug 2017 13:16:49 +0200",
        "From": "Greg KH <gregkh@linuxfoundation.org>",
        "To": "David Miller <davem@davemloft.net>",
        "Cc": "devel@driverdev.osuosl.org, netdev@vger.kernel.org,\n\tsamuel@sortiz.org, linux-kernel@vger.kernel.org,\n\tkernel test robot <fengguang.wu@intel.com>,\n\tGeert Uytterhoeven <geert@linux-m68k.org>",
        "Subject": "[PATCH v3 net-next] staging: irda: fix init level for irda core",
        "Message-ID": "<20170830111649.GA13000@kroah.com>",
        "References": "<20170829070929.GA15824@kroah.com>\n\t<20170829091417.GA9481@kroah.com>\n\t<20170829.093507.2166038228205751885.davem@davemloft.net>\n\t<20170829172608.GA4700@kroah.com>\n\t<20170829173129.GA11029@kroah.com>\n\t<20170829174622.GA25926@kroah.com>",
        "MIME-Version": "1.0",
        "Content-Type": "text/plain; charset=us-ascii",
        "Content-Disposition": "inline",
        "In-Reply-To": "<20170829174622.GA25926@kroah.com>",
        "User-Agent": "Mutt/1.8.3 (2017-05-23)",
        "Sender": "netdev-owner@vger.kernel.org",
        "Precedence": "bulk",
        "List-ID": "<netdev.vger.kernel.org>",
        "X-Mailing-List": "netdev@vger.kernel.org"
    },
    "content": "When moving the IRDA code out of net/ into drivers/staging/irda/net, the\nlink order changes when IRDA is built into the kernel.  That causes a\nkernel crash at boot time as netfilter isn't initialized yet.\n\nTo fix this, move the init call level of the irda core to be\ndevice_initcall() as the link order keeps this being initialized at the\ncorrect time.\n\nReported-by: kernel test robot <fengguang.wu@intel.com>\nReported-by: Geert Uytterhoeven <geert@linux-m68k.org>\nSigned-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>\n---\n\nv3 - just change the initcall level, works so much simpler, thanks to\n     DaveM for the idea.\nv2 - don't force irda to be a module, make the Makefiles put irda back\n     where it was before in the link order.\n\n drivers/staging/irda/net/irmod.c | 2 +-\n 1 file changed, 1 insertion(+), 1 deletion(-)",
    "diff": "diff --git a/drivers/staging/irda/net/irmod.c b/drivers/staging/irda/net/irmod.c\nindex c5e35b85c477..4319f4ff66b0 100644\n--- a/drivers/staging/irda/net/irmod.c\n+++ b/drivers/staging/irda/net/irmod.c\n@@ -190,7 +190,7 @@ static void __exit irda_cleanup(void)\n  *\n  * Jean II\n  */\n-subsys_initcall(irda_init);\n+device_initcall(irda_init);\n module_exit(irda_cleanup);\n \n MODULE_AUTHOR(\"Dag Brattli <dagb@cs.uit.no> & Jean Tourrilhes <jt@hpl.hp.com>\");\n",
    "prefixes": [
        "v3",
        "net-next"
    ]
}