get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 790643,
    "url": "http://patchwork.ozlabs.org/api/patches/790643/?format=api",
    "web_url": "http://patchwork.ozlabs.org/project/linuxppc-dev/patch/20170718214339.7774-57-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": "<20170718214339.7774-57-robh@kernel.org>",
    "list_archive_url": "https://lore.kernel.org/linuxppc-dev/20170718214339.7774-57-robh@kernel.org/",
    "date": "2017-07-18T21:43:37",
    "name": "virt: Convert to using %pOF instead of full_name",
    "commit_ref": null,
    "pull_url": null,
    "state": "not-applicable",
    "archived": false,
    "hash": "94b932d10639667ad486a934a3ffc51aa12efa0a",
    "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/20170718214339.7774-57-robh@kernel.org/mbox/",
    "series": [],
    "comments": "http://patchwork.ozlabs.org/api/patches/790643/comments/",
    "check": "pending",
    "checks": "http://patchwork.ozlabs.org/api/patches/790643/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 [IPv6:2401:3900:2:1::3])\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 3xBvP81T4Jz9s06\n\tfor <patchwork-incoming@ozlabs.org>;\n\tWed, 19 Jul 2017 08:05:48 +1000 (AEST)",
            "from lists.ozlabs.org (lists.ozlabs.org [IPv6:2401:3900:2:1::3])\n\tby lists.ozlabs.org (Postfix) with ESMTP id 3xBvP80Xq4zDrD8\n\tfor <patchwork-incoming@ozlabs.org>;\n\tWed, 19 Jul 2017 08:05:48 +1000 (AEST)",
            "from mail-pg0-f67.google.com (mail-pg0-f67.google.com\n\t[74.125.83.67])\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 3xBtxS6hQrzDrJs\n\tfor <linuxppc-dev@lists.ozlabs.org>;\n\tWed, 19 Jul 2017 07:45:16 +1000 (AEST)",
            "by mail-pg0-f67.google.com with SMTP id z1so4354093pgs.0\n\tfor <linuxppc-dev@lists.ozlabs.org>;\n\tTue, 18 Jul 2017 14:45:16 -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\tr207sm7186560pfr.106.2017.07.18.14.45.13\n\t(version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128);\n\tTue, 18 Jul 2017 14:45:14 -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;\n\tbh=WIi8hJTViMLtMK4tBY5niYYKNCF/vEt3TWfxl00Y0xU=;\n\tb=NgPL9I2DHXhoqkj8i2Zl3W5ge+GqkClH1t3Yijgv81WzfsSyW/ZZ9gsOByPAZyfiP7\n\tEXZS3Z5lnTOWneP2iqgDMvQtA0nzdFTGKWYpTkLKgwvOAZFwL44svog/l0dAL0CBkMd+\n\tTZ6DKPiokKWJRP1X/T+W/dsHIwrHMH39L/3Xcv08heA8bF4zlldSVw5v5rkbQLwYrmFH\n\tKABN66FHQa+PA6hrSpCnCUxqSb8zEzBLK8MFM8pxz73q+4fvB8llNxAV04tMCA5QAXyw\n\taJYHYADxdePWSDHMj7VJOeAX/y8k9F0/d7U0MR0QJsZRopM8rYdpY+o4wPZHIFlw2QoJ\n\tGUpQ==",
        "X-Gm-Message-State": "AIVw111LHaISN0uFtrh7P03EmreX5CttHsVQFi/IL6CCJvq82vRAp2Dx\n\tWjxIRiwQ7kDmwA==",
        "X-Received": "by 10.84.169.227 with SMTP id h90mr3848630plb.145.1500414315353; \n\tTue, 18 Jul 2017 14:45:15 -0700 (PDT)",
        "From": "Rob Herring <robh@kernel.org>",
        "To": "Benjamin Herrenschmidt <benh@kernel.crashing.org>,\n\tPaul Mackerras <paulus@samba.org>, Michael Ellerman <mpe@ellerman.id.au>",
        "Subject": "[PATCH] virt: Convert to using %pOF instead of full_name",
        "Date": "Tue, 18 Jul 2017 16:43:37 -0500",
        "Message-Id": "<20170718214339.7774-57-robh@kernel.org>",
        "X-Mailer": "git-send-email 2.11.0",
        "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": "devicetree@vger.kernel.org, linuxppc-dev@lists.ozlabs.org,\n\tlinux-kernel@vger.kernel.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": "Now that we have a custom printf format specifier, convert users of\nfull_name to use %pOF instead. This is preparation to remove storing\nof the full path string for each node.\n\nSigned-off-by: Rob Herring <robh@kernel.org>\n---\n drivers/virt/fsl_hypervisor.c | 12 ++++++------\n 1 file changed, 6 insertions(+), 6 deletions(-)\n\n--\n2.11.0",
    "diff": "diff --git a/drivers/virt/fsl_hypervisor.c b/drivers/virt/fsl_hypervisor.c\nindex d3eca879a0a8..d993df5586c0 100644\n--- a/drivers/virt/fsl_hypervisor.c\n+++ b/drivers/virt/fsl_hypervisor.c\n@@ -841,8 +841,8 @@ static int __init fsl_hypervisor_init(void)\n \t\thandle = of_get_property(np, \"interrupts\", NULL);\n \t\tirq = irq_of_parse_and_map(np, 0);\n \t\tif (!handle || (irq == NO_IRQ)) {\n-\t\t\tpr_err(\"fsl-hv: no 'interrupts' property in %s node\\n\",\n-\t\t\t\tnp->full_name);\n+\t\t\tpr_err(\"fsl-hv: no 'interrupts' property in %pOF node\\n\",\n+\t\t\t\tnp);\n \t\t\tcontinue;\n \t\t}\n\n@@ -869,8 +869,8 @@ static int __init fsl_hypervisor_init(void)\n \t\t\t */\n \t\t\tdbisr->partition = ret = get_parent_handle(np);\n \t\t\tif (ret < 0) {\n-\t\t\t\tpr_err(\"fsl-hv: node %s has missing or \"\n-\t\t\t\t       \"malformed parent\\n\", np->full_name);\n+\t\t\t\tpr_err(\"fsl-hv: node %pOF has missing or \"\n+\t\t\t\t       \"malformed parent\\n\", np);\n \t\t\t\tkfree(dbisr);\n \t\t\t\tcontinue;\n \t\t\t}\n@@ -881,8 +881,8 @@ static int __init fsl_hypervisor_init(void)\n \t\t\tret = request_irq(irq, fsl_hv_isr, 0, np->name, dbisr);\n\n \t\tif (ret < 0) {\n-\t\t\tpr_err(\"fsl-hv: could not request irq %u for node %s\\n\",\n-\t\t\t       irq, np->full_name);\n+\t\t\tpr_err(\"fsl-hv: could not request irq %u for node %pOF\\n\",\n+\t\t\t       irq, np);\n \t\t\tkfree(dbisr);\n \t\t\tcontinue;\n \t\t}\n",
    "prefixes": []
}