get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 812726,
    "url": "http://patchwork.ozlabs.org/api/patches/812726/?format=api",
    "web_url": "http://patchwork.ozlabs.org/project/linux-gpio/patch/1505205657-18012-4-git-send-email-geert+renesas@glider.be/",
    "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": "<1505205657-18012-4-git-send-email-geert+renesas@glider.be>",
    "list_archive_url": null,
    "date": "2017-09-12T08:40:56",
    "name": "[v2,resend,3/4] sh: sh7264: Remove nonexistent GPIO_PH[0-7] to fix pinctrl registration",
    "commit_ref": null,
    "pull_url": null,
    "state": "new",
    "archived": false,
    "hash": "ca32b0b9f621f14b8d662a28dedb326cd4c6747f",
    "submitter": {
        "id": 63808,
        "url": "http://patchwork.ozlabs.org/api/people/63808/?format=api",
        "name": "Geert Uytterhoeven",
        "email": "geert+renesas@glider.be"
    },
    "delegate": null,
    "mbox": "http://patchwork.ozlabs.org/project/linux-gpio/patch/1505205657-18012-4-git-send-email-geert+renesas@glider.be/mbox/",
    "series": [
        {
            "id": 2634,
            "url": "http://patchwork.ozlabs.org/api/series/2634/?format=api",
            "web_url": "http://patchwork.ozlabs.org/project/linux-gpio/list/?series=2634",
            "date": "2017-09-12T08:40:55",
            "name": "sh: sh7722/sh7757i/sh7264/sh7269: Fix pinctrl registration",
            "version": 2,
            "mbox": "http://patchwork.ozlabs.org/series/2634/mbox/"
        }
    ],
    "comments": "http://patchwork.ozlabs.org/api/patches/812726/comments/",
    "check": "pending",
    "checks": "http://patchwork.ozlabs.org/api/patches/812726/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>)",
        "Received": [
            "from vger.kernel.org (vger.kernel.org [209.132.180.67])\n\tby ozlabs.org (Postfix) with ESMTP id 3xryvb0HkGz9s81\n\tfor <incoming@patchwork.ozlabs.org>;\n\tTue, 12 Sep 2017 18:41:47 +1000 (AEST)",
            "(majordomo@vger.kernel.org) by vger.kernel.org via listexpand\n\tid S1751247AbdILIlq (ORCPT <rfc822;incoming@patchwork.ozlabs.org>);\n\tTue, 12 Sep 2017 04:41:46 -0400",
            "from baptiste.telenet-ops.be ([195.130.132.51]:34966 \"EHLO\n\tbaptiste.telenet-ops.be\" rhost-flags-OK-OK-OK-OK) by vger.kernel.org\n\twith ESMTP id S1751366AbdILIlD (ORCPT\n\t<rfc822; linux-gpio@vger.kernel.org>); Tue, 12 Sep 2017 04:41:03 -0400",
            "from ayla.of.borg ([84.195.106.246])\n\tby baptiste.telenet-ops.be with bizsmtp\n\tid 8Ygz1w00f5JzmfG01YgzNf; Tue, 12 Sep 2017 10:41:02 +0200",
            "from ramsan.of.borg ([192.168.97.29] helo=ramsan)\n\tby ayla.of.borg with esmtp (Exim 4.86_2)\n\t(envelope-from <geert@linux-m68k.org>)\n\tid 1drgkZ-0003Y4-G3; Tue, 12 Sep 2017 10:40:55 +0200",
            "from geert by ramsan with local (Exim 4.86_2)\n\t(envelope-from <geert@linux-m68k.org>)\n\tid 1drgkd-0004hT-OY; Tue, 12 Sep 2017 10:40:59 +0200"
        ],
        "From": "Geert Uytterhoeven <geert+renesas@glider.be>",
        "To": "Andrew Morton <akpm@linux-foundation.org>",
        "Cc": "Yoshinori Sato <ysato@users.sourceforge.jp>,\n\tRich Felker <dalias@libc.org>, Magnus Damm <magnus.damm@gmail.com>,\n\tLaurent Pinchart <laurent.pinchart@ideasonboard.com>,\n\tYoshihiro Shimoda <yoshihiro.shimoda.uh@renesas.com>,\n\tlinux-sh@vger.kernel.org, linux-renesas-soc@vger.kernel.org,\n\tlinux-gpio@vger.kernel.org, linux-kernel@vger.kernel.org,\n\tGeert Uytterhoeven <geert+renesas@glider.be>",
        "Subject": "[PATCH v2 resend 3/4] sh: sh7264: Remove nonexistent GPIO_PH[0-7]\n\tto fix pinctrl registration",
        "Date": "Tue, 12 Sep 2017 10:40:56 +0200",
        "Message-Id": "<1505205657-18012-4-git-send-email-geert+renesas@glider.be>",
        "X-Mailer": "git-send-email 2.7.4",
        "In-Reply-To": "<1505205657-18012-1-git-send-email-geert+renesas@glider.be>",
        "References": "<1505205657-18012-1-git-send-email-geert+renesas@glider.be>",
        "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": "Pinmux_pins[] is initialized through PINMUX_GPIO(), using designated\narray initializers, where the GPIO_* enums serve as indices.\nIf enum values are defined, but never used, pinmux_pins[] contains\n(zero-filled) holes.  Such entries are treated as pin zero, which was\nregistered before, thus leading to pinctrl registration failures, as\nseen on sh7722:\n\n    sh-pfc pfc-sh7722: pin 0 already registered\n    sh-pfc pfc-sh7722: error during pin registration\n    sh-pfc pfc-sh7722: could not register: -22\n    sh-pfc: probe of pfc-sh7722 failed with error -22\n\nRemove GPIO_PH[0-7] from the enum to fix this.\n\nFixes: 41797f75486d8ca3 (\"sh: Add pinmux for sh7264\")\nSigned-off-by: Geert Uytterhoeven <geert+renesas@glider.be>\nReviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>\n---\nUntested due to lack of hardware.\n\nv2:\n  - Replace fake error messages by reference to sh7722,\n  - Add Reviewed-by.\n---\n arch/sh/include/cpu-sh2a/cpu/sh7264.h | 4 +---\n 1 file changed, 1 insertion(+), 3 deletions(-)",
    "diff": "diff --git a/arch/sh/include/cpu-sh2a/cpu/sh7264.h b/arch/sh/include/cpu-sh2a/cpu/sh7264.h\nindex 4d1ef6d74bd6050c..2ae0e938b657a109 100644\n--- a/arch/sh/include/cpu-sh2a/cpu/sh7264.h\n+++ b/arch/sh/include/cpu-sh2a/cpu/sh7264.h\n@@ -43,9 +43,7 @@ enum {\n \tGPIO_PG7, GPIO_PG6, GPIO_PG5, GPIO_PG4,\n \tGPIO_PG3, GPIO_PG2, GPIO_PG1, GPIO_PG0,\n \n-\t/* Port H */\n-\tGPIO_PH7, GPIO_PH6, GPIO_PH5, GPIO_PH4,\n-\tGPIO_PH3, GPIO_PH2, GPIO_PH1, GPIO_PH0,\n+\t/* Port H - Port H does not have a Data Register */\n \n \t/* Port I - not on device */\n \n",
    "prefixes": [
        "v2",
        "resend",
        "3/4"
    ]
}