get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 810987,
    "url": "http://patchwork.ozlabs.org/api/patches/810987/?format=api",
    "web_url": "http://patchwork.ozlabs.org/project/linux-gpio/patch/1504784522-26841-4-git-send-email-yamada.masahiro@socionext.com/",
    "project": {
        "id": 42,
        "url": "http://patchwork.ozlabs.org/api/projects/42/?format=api",
        "name": "Linux GPIO development",
        "link_name": "linux-gpio",
        "list_id": "linux-gpio.vger.kernel.org",
        "list_email": "linux-gpio@vger.kernel.org",
        "web_url": "",
        "scm_url": "",
        "webscm_url": "",
        "list_archive_url": "",
        "list_archive_url_format": "",
        "commit_url_format": ""
    },
    "msgid": "<1504784522-26841-4-git-send-email-yamada.masahiro@socionext.com>",
    "list_archive_url": null,
    "date": "2017-09-07T11:41:59",
    "name": "[v4,3/6] irqdomain: move IRQ_DOMAIN_NAME_ALLOCATED define to the original position",
    "commit_ref": null,
    "pull_url": null,
    "state": "new",
    "archived": false,
    "hash": "41279fbd9d7bcdc0940f747954d76e2c651e3611",
    "submitter": {
        "id": 65882,
        "url": "http://patchwork.ozlabs.org/api/people/65882/?format=api",
        "name": "Masahiro Yamada",
        "email": "yamada.masahiro@socionext.com"
    },
    "delegate": null,
    "mbox": "http://patchwork.ozlabs.org/project/linux-gpio/patch/1504784522-26841-4-git-send-email-yamada.masahiro@socionext.com/mbox/",
    "series": [
        {
            "id": 1983,
            "url": "http://patchwork.ozlabs.org/api/series/1983/?format=api",
            "web_url": "http://patchwork.ozlabs.org/project/linux-gpio/list/?series=1983",
            "date": "2017-09-07T11:41:57",
            "name": "irqdomain, gpio: expand irq_domain_push_irq() for DT use and use it for GPIO",
            "version": 4,
            "mbox": "http://patchwork.ozlabs.org/series/1983/mbox/"
        }
    ],
    "comments": "http://patchwork.ozlabs.org/api/patches/810987/comments/",
    "check": "pending",
    "checks": "http://patchwork.ozlabs.org/api/patches/810987/checks/",
    "tags": {},
    "related": [],
    "headers": {
        "Return-Path": "<linux-gpio-owner@vger.kernel.org>",
        "X-Original-To": "incoming@patchwork.ozlabs.org",
        "Delivered-To": "patchwork-incoming@bilbo.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=linux-gpio-owner@vger.kernel.org;\n\treceiver=<UNKNOWN>)",
            "ozlabs.org;\n\tdkim=fail reason=\"signature verification failed\" (2048-bit key;\n\tunprotected) header.d=nifty.com header.i=@nifty.com\n\theader.b=\"WhSokaQN\"; dkim-atps=neutral"
        ],
        "Received": [
            "from vger.kernel.org (vger.kernel.org [209.132.180.67])\n\tby ozlabs.org (Postfix) with ESMTP id 3xnzDT1MLtz9s2G\n\tfor <incoming@patchwork.ozlabs.org>;\n\tThu,  7 Sep 2017 21:46:01 +1000 (AEST)",
            "(majordomo@vger.kernel.org) by vger.kernel.org via listexpand\n\tid S1755260AbdIGLn7 (ORCPT <rfc822;incoming@patchwork.ozlabs.org>);\n\tThu, 7 Sep 2017 07:43:59 -0400",
            "from conuserg-09.nifty.com ([210.131.2.76]:17197 \"EHLO\n\tconuserg-09.nifty.com\" rhost-flags-OK-OK-OK-OK) by vger.kernel.org\n\twith ESMTP id S1755169AbdIGLn5 (ORCPT\n\t<rfc822; linux-gpio@vger.kernel.org>); Thu, 7 Sep 2017 07:43:57 -0400",
            "from pug.e01.socionext.com (p14092-ipngnfx01kyoto.kyoto.ocn.ne.jp\n\t[153.142.97.92]) (authenticated)\n\tby conuserg-09.nifty.com with ESMTP id v87BgcP1021413;\n\tThu, 7 Sep 2017 20:42:42 +0900"
        ],
        "DKIM-Filter": "OpenDKIM Filter v2.10.3 conuserg-09.nifty.com v87BgcP1021413",
        "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed; d=nifty.com;\n\ts=dec2015msa; t=1504784563;\n\tbh=OU4buTi5rdQ/c0WP7ZgP3dT5In+tuzYJfeV5iVj+UCo=;\n\th=From:To:Cc:Subject:Date:In-Reply-To:References:From;\n\tb=WhSokaQNO3bIHWV1r6Sgh9C5jT3rlmNPtq732gJAI8lqECv3KEA2s+ez5IClPyqxU\n\ter1OAGMhr+zDJBSzuc8S6ANcl/IsHk/rzVoD3UiL90lnIZpDo5jVJ5MkJZIHf/1te2\n\trzAnUU5hrrSShEzCCN2A8/olXGewvxsGh233vWcl7d98uHbKfkyq8KogRGGly7qgeM\n\tAp422685/tkXeYmWoH6sbKabhZfztdzKZicM3T/EdukG8+GWRYZfa1SPPlFAoqP2mt\n\t4a6WHq4TSDjChuyPluaLQJuoerO+Ct5KzKb6ibTQ+pA9er2D+QZULyc38CEX+xhJCp\n\tUCzDn6Y7rXg0w==",
        "X-Nifty-SrcIP": "[153.142.97.92]",
        "From": "Masahiro Yamada <yamada.masahiro@socionext.com>",
        "To": "Marc Zyngier <marc.zyngier@arm.com>,\n\tThomas Gleixner <tglx@linutronix.de>,\n\tLinus Walleij <linus.walleij@linaro.org>,\n\tlinux-gpio@vger.kernel.org, Rob Herring <robh+dt@kernel.org>",
        "Cc": "Jassi Brar <jaswinder.singh@linaro.org>,\n\tdevicetree@vger.kernel.org, Jason Cooper <jason@lakedaemon.net>,\n\tMasami Hiramatsu <mhiramat@kernel.org>,\n\tDavid Daney <david.daney@cavium.com>,\n\tMasahiro Yamada <yamada.masahiro@socionext.com>,\n\tlinux-kernel@vger.kernel.org",
        "Subject": "[PATCH v4 3/6] irqdomain: move IRQ_DOMAIN_NAME_ALLOCATED define to\n\tthe original position",
        "Date": "Thu,  7 Sep 2017 20:41:59 +0900",
        "Message-Id": "<1504784522-26841-4-git-send-email-yamada.masahiro@socionext.com>",
        "X-Mailer": "git-send-email 2.7.4",
        "In-Reply-To": "<1504784522-26841-1-git-send-email-yamada.masahiro@socionext.com>",
        "References": "<1504784522-26841-1-git-send-email-yamada.masahiro@socionext.com>",
        "Sender": "linux-gpio-owner@vger.kernel.org",
        "Precedence": "bulk",
        "List-ID": "<linux-gpio.vger.kernel.org>",
        "X-Mailing-List": "linux-gpio@vger.kernel.org"
    },
    "content": "Commit 6a6544e520ab (\"genirq/irqdomain: Remove auto-recursive hierarchy\nsupport\") not only deleted IRQ_DOMAIN_FLAG_AUTO_RECURSIVE, but also\nmoved IRQ_DOMAIN_NAME_ALLOCATED up.\n\nGet it back to the original position to sort the enum by the bit shift.\n\nSigned-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>\n---\n\nChanges in v4:\n  - Newly added\n\n\n include/linux/irqdomain.h | 6 +++---\n 1 file changed, 3 insertions(+), 3 deletions(-)",
    "diff": "diff --git a/include/linux/irqdomain.h b/include/linux/irqdomain.h\nindex 81e4889..31be32d 100644\n--- a/include/linux/irqdomain.h\n+++ b/include/linux/irqdomain.h\n@@ -180,9 +180,6 @@ enum {\n \t/* Irq domain is hierarchical */\n \tIRQ_DOMAIN_FLAG_HIERARCHY\t= (1 << 0),\n \n-\t/* Irq domain name was allocated in __irq_domain_add() */\n-\tIRQ_DOMAIN_NAME_ALLOCATED\t= (1 << 6),\n-\n \t/* Irq domain is an IPI domain with virq per cpu */\n \tIRQ_DOMAIN_FLAG_IPI_PER_CPU\t= (1 << 2),\n \n@@ -195,6 +192,9 @@ enum {\n \t/* Irq domain implements MSI remapping */\n \tIRQ_DOMAIN_FLAG_MSI_REMAP\t= (1 << 5),\n \n+\t/* Irq domain name was allocated in __irq_domain_add() */\n+\tIRQ_DOMAIN_NAME_ALLOCATED\t= (1 << 6),\n+\n \t/*\n \t * Flags starting from IRQ_DOMAIN_FLAG_NONCORE are reserved\n \t * for implementation specific purposes and ignored by the\n",
    "prefixes": [
        "v4",
        "3/6"
    ]
}