get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 793664,
    "url": "http://patchwork.ozlabs.org/api/patches/793664/?format=api",
    "web_url": "http://patchwork.ozlabs.org/project/linuxppc-dev/patch/20170725214427.25768-2-robh@kernel.org/",
    "project": {
        "id": 2,
        "url": "http://patchwork.ozlabs.org/api/projects/2/?format=api",
        "name": "Linux PPC development",
        "link_name": "linuxppc-dev",
        "list_id": "linuxppc-dev.lists.ozlabs.org",
        "list_email": "linuxppc-dev@lists.ozlabs.org",
        "web_url": "https://github.com/linuxppc/wiki/wiki",
        "scm_url": "https://git.kernel.org/pub/scm/linux/kernel/git/powerpc/linux.git",
        "webscm_url": "https://git.kernel.org/pub/scm/linux/kernel/git/powerpc/linux.git/",
        "list_archive_url": "https://lore.kernel.org/linuxppc-dev/",
        "list_archive_url_format": "https://lore.kernel.org/linuxppc-dev/{}/",
        "commit_url_format": "https://git.kernel.org/pub/scm/linux/kernel/git/powerpc/linux.git/commit/?id={}"
    },
    "msgid": "<20170725214427.25768-2-robh@kernel.org>",
    "list_archive_url": "https://lore.kernel.org/linuxppc-dev/20170725214427.25768-2-robh@kernel.org/",
    "date": "2017-07-25T21:44:24",
    "name": "[1/4] powerpc: pseries: vio: match parent nodes with of_find_node_by_path",
    "commit_ref": null,
    "pull_url": null,
    "state": "superseded",
    "archived": true,
    "hash": "f2977288de83b0de7de189af0dc0a5df01754543",
    "submitter": {
        "id": 62529,
        "url": "http://patchwork.ozlabs.org/api/people/62529/?format=api",
        "name": "Rob Herring",
        "email": "robh@kernel.org"
    },
    "delegate": null,
    "mbox": "http://patchwork.ozlabs.org/project/linuxppc-dev/patch/20170725214427.25768-2-robh@kernel.org/mbox/",
    "series": [],
    "comments": "http://patchwork.ozlabs.org/api/patches/793664/comments/",
    "check": "pending",
    "checks": "http://patchwork.ozlabs.org/api/patches/793664/checks/",
    "tags": {},
    "related": [],
    "headers": {
        "Return-Path": "<linuxppc-dev-bounces+patchwork-incoming=ozlabs.org@lists.ozlabs.org>",
        "X-Original-To": [
            "patchwork-incoming@ozlabs.org",
            "linuxppc-dev@lists.ozlabs.org"
        ],
        "Delivered-To": [
            "patchwork-incoming@ozlabs.org",
            "linuxppc-dev@lists.ozlabs.org"
        ],
        "Received": [
            "from lists.ozlabs.org (lists.ozlabs.org [103.22.144.68])\n\t(using TLSv1.2 with cipher ADH-AES256-GCM-SHA384 (256/256 bits))\n\t(No client certificate requested)\n\tby ozlabs.org (Postfix) with ESMTPS id 3xHBg62B6hz9sCZ\n\tfor <patchwork-incoming@ozlabs.org>;\n\tWed, 26 Jul 2017 07:47:46 +1000 (AEST)",
            "from lists.ozlabs.org (lists.ozlabs.org [IPv6:2401:3900:2:1::3])\n\tby lists.ozlabs.org (Postfix) with ESMTP id 3xHBg61PVNzDqs7\n\tfor <patchwork-incoming@ozlabs.org>;\n\tWed, 26 Jul 2017 07:47:46 +1000 (AEST)",
            "from mail-yw0-f194.google.com (mail-yw0-f194.google.com\n\t[209.85.161.194])\n\t(using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128\n\tbits)) (No client certificate requested)\n\tby lists.ozlabs.org (Postfix) with ESMTPS id 3xHBbT4JnPzDqmC\n\tfor <linuxppc-dev@lists.ozlabs.org>;\n\tWed, 26 Jul 2017 07:44:37 +1000 (AEST)",
            "by mail-yw0-f194.google.com with SMTP id p68so3603521ywg.5\n\tfor <linuxppc-dev@lists.ozlabs.org>;\n\tTue, 25 Jul 2017 14:44:37 -0700 (PDT)",
            "from localhost.localdomain (24-223-123-72.static.usa-companies.net.\n\t[24.223.123.72]) by smtp.googlemail.com with ESMTPSA id\n\t204sm2386383ywx.35.2017.07.25.14.44.33\n\t(version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128);\n\tTue, 25 Jul 2017 14:44:35 -0700 (PDT)"
        ],
        "X-Google-DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed;\n\td=1e100.net; s=20161025;\n\th=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to\n\t:references;\n\tbh=QhR+ZMBIdCXrBDeDeJ8kWa4i8ITHWt9ubpz+hGdBkVA=;\n\tb=lsDDBmk97U3HlYwHcJ6i2OKCxs6/C+AOHkv89Hid9oRRnVXxx/VztW0aglYSPj6C9/\n\t6EL1YUyv4PldpdJJx3EfgOmSrmdaTUGj9etCv2UDpd0bNUZNepAVs8qq4p1yzB/IC8gx\n\te8ceqah3MpVo8Rh0MDLb3+b6p5trcBKvkh7xW8gYZR5sUJHzBSMl/sLQaDdX0X1PRciB\n\tvhj/PqX30HnkwUZRSxYeN8yxjr4AYIZ7jpmcxySgPH8KwFdUa1w9bL8WTaAER1vFYQ2s\n\t9xvd2ukXALWth6saS/0tm6uAfzu5mhKzYHzHxZk9ggK5qHspHX4KCo1IREN+axAvdGVW\n\ttn6w==",
        "X-Gm-Message-State": "AIVw111BHGXp8AjaM5IVjd1uHFdpjcu157PhvsQ1pJadMcNSERz6Ttqz\n\tVQlV50MTQ/KlDg==",
        "X-Received": "by 10.13.246.199 with SMTP id g190mr9798057ywf.175.1501019075760;\n\tTue, 25 Jul 2017 14:44:35 -0700 (PDT)",
        "From": "Rob Herring <robh@kernel.org>",
        "To": "devicetree@vger.kernel.org,\n\tlinuxppc-dev@lists.ozlabs.org",
        "Subject": "[PATCH 1/4] powerpc: pseries: vio: match parent nodes with\n\tof_find_node_by_path",
        "Date": "Tue, 25 Jul 2017 16:44:24 -0500",
        "Message-Id": "<20170725214427.25768-2-robh@kernel.org>",
        "X-Mailer": "git-send-email 2.11.0",
        "In-Reply-To": "<20170725214427.25768-1-robh@kernel.org>",
        "References": "<20170725214427.25768-1-robh@kernel.org>",
        "X-BeenThere": "linuxppc-dev@lists.ozlabs.org",
        "X-Mailman-Version": "2.1.23",
        "Precedence": "list",
        "List-Id": "Linux on PowerPC Developers Mail List\n\t<linuxppc-dev.lists.ozlabs.org>",
        "List-Unsubscribe": "<https://lists.ozlabs.org/options/linuxppc-dev>,\n\t<mailto:linuxppc-dev-request@lists.ozlabs.org?subject=unsubscribe>",
        "List-Archive": "<http://lists.ozlabs.org/pipermail/linuxppc-dev/>",
        "List-Post": "<mailto:linuxppc-dev@lists.ozlabs.org>",
        "List-Help": "<mailto:linuxppc-dev-request@lists.ozlabs.org?subject=help>",
        "List-Subscribe": "<https://lists.ozlabs.org/listinfo/linuxppc-dev>,\n\t<mailto:linuxppc-dev-request@lists.ozlabs.org?subject=subscribe>",
        "Cc": "Frank Rowand <frowand.list@gmail.com>, linux-kernel@vger.kernel.org,\n\tPaul Mackerras <paulus@samba.org>",
        "Errors-To": "linuxppc-dev-bounces+patchwork-incoming=ozlabs.org@lists.ozlabs.org",
        "Sender": "\"Linuxppc-dev\"\n\t<linuxppc-dev-bounces+patchwork-incoming=ozlabs.org@lists.ozlabs.org>"
    },
    "content": "In preparation to remove the full path from device_node.full_name, use\nof_find_node_by_path instead of open coding with strcmp.\n\nSigned-off-by: Rob Herring <robh@kernel.org>\nCc: Benjamin Herrenschmidt <benh@kernel.crashing.org>\nCc: Paul Mackerras <paulus@samba.org>\nCc: Michael Ellerman <mpe@ellerman.id.au>\nCc: linuxppc-dev@lists.ozlabs.org\n---\n arch/powerpc/platforms/pseries/vio.c | 4 ++--\n 1 file changed, 2 insertions(+), 2 deletions(-)",
    "diff": "diff --git a/arch/powerpc/platforms/pseries/vio.c b/arch/powerpc/platforms/pseries/vio.c\nindex 3201feb6d32b..28a9505e4919 100644\n--- a/arch/powerpc/platforms/pseries/vio.c\n+++ b/arch/powerpc/platforms/pseries/vio.c\n@@ -1357,9 +1357,9 @@ struct vio_dev *vio_register_device_node(struct device_node *of_node)\n \t */\n \tparent_node = of_get_parent(of_node);\n \tif (parent_node) {\n-\t\tif (!strcmp(parent_node->full_name, \"ibm,platform-facilities\"))\n+\t\tif (parent_node == of_find_node_by_path(\"/ibm,platform-facilities\"))\n \t\t\tfamily = PFO;\n-\t\telse if (!strcmp(parent_node->full_name, \"vdevice\"))\n+\t\telse if (parent_node == of_find_node_by_path(\"/vdevice\"))\n \t\t\tfamily = VDEVICE;\n \t\telse {\n \t\t\tpr_warn(\"%s: parent(%pOF) of %s not recognized.\\n\",\n",
    "prefixes": [
        "1/4"
    ]
}