get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 790620,
    "url": "http://patchwork.ozlabs.org/api/1.2/patches/790620/?format=api",
    "web_url": "http://patchwork.ozlabs.org/project/linuxppc-dev/patch/20170718214339.7774-27-robh@kernel.org/",
    "project": {
        "id": 2,
        "url": "http://patchwork.ozlabs.org/api/1.2/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-27-robh@kernel.org>",
    "list_archive_url": "https://lore.kernel.org/linuxppc-dev/20170718214339.7774-27-robh@kernel.org/",
    "date": "2017-07-18T21:43:07",
    "name": "ide: pmac: Convert to using %pOF instead of full_name",
    "commit_ref": "859420e3155d8192b31a93cd92d32c85151bf8da",
    "pull_url": null,
    "state": "accepted",
    "archived": false,
    "hash": "8ca22f60b8f353dd9a33b3f752e608086d6b98d9",
    "submitter": {
        "id": 62529,
        "url": "http://patchwork.ozlabs.org/api/1.2/people/62529/?format=api",
        "name": "Rob Herring",
        "email": "robh@kernel.org"
    },
    "delegate": null,
    "mbox": "http://patchwork.ozlabs.org/project/linuxppc-dev/patch/20170718214339.7774-27-robh@kernel.org/mbox/",
    "series": [],
    "comments": "http://patchwork.ozlabs.org/api/patches/790620/comments/",
    "check": "pending",
    "checks": "http://patchwork.ozlabs.org/api/patches/790620/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 3xBvB42V9yz9sNw\n\tfor <patchwork-incoming@ozlabs.org>;\n\tWed, 19 Jul 2017 07:56:12 +1000 (AEST)",
            "from lists.ozlabs.org (lists.ozlabs.org [IPv6:2401:3900:2:1::3])\n\tby lists.ozlabs.org (Postfix) with ESMTP id 3xBvB41F3rzDrSx\n\tfor <patchwork-incoming@ozlabs.org>;\n\tWed, 19 Jul 2017 07:56:12 +1000 (AEST)",
            "from mail-pg0-f66.google.com (mail-pg0-f66.google.com\n\t[74.125.83.66])\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 3xBtwX3GZczDrLf\n\tfor <linuxppc-dev@lists.ozlabs.org>;\n\tWed, 19 Jul 2017 07:44:28 +1000 (AEST)",
            "by mail-pg0-f66.google.com with SMTP id y129so4334852pgy.3\n\tfor <linuxppc-dev@lists.ozlabs.org>;\n\tTue, 18 Jul 2017 14:44:28 -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.44.25\n\t(version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128);\n\tTue, 18 Jul 2017 14:44:25 -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=CW0WoH5FMgQ78+RKdB9apYqyILhbtSH3dG5qZAeRChI=;\n\tb=pvwS77MJisvZZY/gneUfQRM17G8GkHxYZNuzdxxAkOZbv2OuYchNikPMauiAxqaNE9\n\t3JfrNkTyfB4xCkwbQSwwWqe8m48ExFbMy07bvcPnup0lzKEQxJ0RwBa4lQSuBKcPzm8Q\n\t8/m27GPUrjMemUHAt36C3NJlFL9jPVTMMDuQJU1Gg6SXvpcwkaM2BUAUlFfGOoX0ldQg\n\ttbCbypbcK9qY4ucDr3z+Rmkoh2flwUczbz6sEgGdCwnc5yGUo9rn2QN+vDTs7QJMghSu\n\tWycp/HAGOuCq6AAoTYCDHUijvU/6HYzYONXgg5MFPEAYfGvBLTyy/qIjN4zH92m27gZc\n\t/PCA==",
        "X-Gm-Message-State": "AIVw111xGvJu5H0a1Sz6Gz3edquf3yjxjbg0RRJkEUm+mZV7T+q03Ix3\n\tEeYNc/ucxT7EnQ==",
        "X-Received": "by 10.99.132.195 with SMTP id k186mr3730136pgd.127.1500414266594;\n\tTue, 18 Jul 2017 14:44:26 -0700 (PDT)",
        "From": "Rob Herring <robh@kernel.org>",
        "To": "\"David S. Miller\" <davem@davemloft.net>,\n\tBenjamin Herrenschmidt <benh@kernel.crashing.org>,\n\tPaul Mackerras <paulus@samba.org>, Michael Ellerman <mpe@ellerman.id.au>",
        "Subject": "[PATCH] ide: pmac: Convert to using %pOF instead of full_name",
        "Date": "Tue, 18 Jul 2017 16:43:07 -0500",
        "Message-Id": "<20170718214339.7774-27-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, linux-ide@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>\nCc: \"David S. Miller\" <davem@davemloft.net>\nCc: Benjamin Herrenschmidt <benh@kernel.crashing.org>\nCc: Paul Mackerras <paulus@samba.org>\nCc: Michael Ellerman <mpe@ellerman.id.au>\nCc: linux-ide@vger.kernel.org\nCc: linuxppc-dev@lists.ozlabs.org\n---\n drivers/ide/pmac.c | 18 +++++++++---------\n 1 file changed, 9 insertions(+), 9 deletions(-)\n\n--\n2.11.0",
    "diff": "diff --git a/drivers/ide/pmac.c b/drivers/ide/pmac.c\nindex 0c5d3a99468e..c5b902b86b44 100644\n--- a/drivers/ide/pmac.c\n+++ b/drivers/ide/pmac.c\n@@ -1145,8 +1145,8 @@ static int pmac_ide_macio_attach(struct macio_dev *mdev,\n \t\treturn -ENOMEM;\n\n \tif (macio_resource_count(mdev) == 0) {\n-\t\tprintk(KERN_WARNING \"ide-pmac: no address for %s\\n\",\n-\t\t\t\t    mdev->ofdev.dev.of_node->full_name);\n+\t\tprintk(KERN_WARNING \"ide-pmac: no address for %pOF\\n\",\n+\t\t\t\t    mdev->ofdev.dev.of_node);\n \t\trc = -ENXIO;\n \t\tgoto out_free_pmif;\n \t}\n@@ -1154,7 +1154,7 @@ static int pmac_ide_macio_attach(struct macio_dev *mdev,\n \t/* Request memory resource for IO ports */\n \tif (macio_request_resource(mdev, 0, \"ide-pmac (ports)\")) {\n \t\tprintk(KERN_ERR \"ide-pmac: can't request MMIO resource for \"\n-\t\t\t\t\"%s!\\n\", mdev->ofdev.dev.of_node->full_name);\n+\t\t\t\t\"%pOF!\\n\", mdev->ofdev.dev.of_node);\n \t\trc = -EBUSY;\n \t\tgoto out_free_pmif;\n \t}\n@@ -1165,8 +1165,8 @@ static int pmac_ide_macio_attach(struct macio_dev *mdev,\n \t * where that happens though...\n \t */\n \tif (macio_irq_count(mdev) == 0) {\n-\t\tprintk(KERN_WARNING \"ide-pmac: no intrs for device %s, using \"\n-\t\t\t\t    \"13\\n\", mdev->ofdev.dev.of_node->full_name);\n+\t\tprintk(KERN_WARNING \"ide-pmac: no intrs for device %pOF, using \"\n+\t\t\t\t    \"13\\n\", mdev->ofdev.dev.of_node);\n \t\tirq = irq_create_mapping(NULL, 13);\n \t} else\n \t\tirq = macio_irq(mdev, 0);\n@@ -1183,8 +1183,8 @@ static int pmac_ide_macio_attach(struct macio_dev *mdev,\n \tif (macio_resource_count(mdev) >= 2) {\n \t\tif (macio_request_resource(mdev, 1, \"ide-pmac (dma)\"))\n \t\t\tprintk(KERN_WARNING \"ide-pmac: can't request DMA \"\n-\t\t\t\t\t    \"resource for %s!\\n\",\n-\t\t\t\t\t    mdev->ofdev.dev.of_node->full_name);\n+\t\t\t\t\t    \"resource for %pOF!\\n\",\n+\t\t\t\t\t    mdev->ofdev.dev.of_node);\n \t\telse\n \t\t\tpmif->dma_regs = ioremap(macio_resource_start(mdev, 1), 0x1000);\n \t} else\n@@ -1274,7 +1274,7 @@ static int pmac_ide_pci_attach(struct pci_dev *pdev,\n\n \tif (pci_enable_device(pdev)) {\n \t\tprintk(KERN_WARNING \"ide-pmac: Can't enable PCI device for \"\n-\t\t\t\t    \"%s\\n\", np->full_name);\n+\t\t\t\t    \"%pOF\\n\", np);\n \t\trc = -ENXIO;\n \t\tgoto out_free_pmif;\n \t}\n@@ -1282,7 +1282,7 @@ static int pmac_ide_pci_attach(struct pci_dev *pdev,\n\n \tif (pci_request_regions(pdev, \"Kauai ATA\")) {\n \t\tprintk(KERN_ERR \"ide-pmac: Cannot obtain PCI resources for \"\n-\t\t\t\t\"%s\\n\", np->full_name);\n+\t\t\t\t\"%pOF\\n\", np);\n \t\trc = -ENXIO;\n \t\tgoto out_free_pmif;\n \t}\n",
    "prefixes": []
}