get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 790646,
    "url": "http://patchwork.ozlabs.org/api/patches/790646/?format=api",
    "web_url": "http://patchwork.ozlabs.org/project/linuxppc-dev/patch/20170718214339.7774-58-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-58-robh@kernel.org>",
    "list_archive_url": "https://lore.kernel.org/linuxppc-dev/20170718214339.7774-58-robh@kernel.org/",
    "date": "2017-07-18T21:43:38",
    "name": "sound: Convert to using %pOF instead of full_name",
    "commit_ref": null,
    "pull_url": null,
    "state": "not-applicable",
    "archived": false,
    "hash": "6c4c9d5dbf5e01ba9d376a9dcef3e65f1f41d71e",
    "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-58-robh@kernel.org/mbox/",
    "series": [],
    "comments": "http://patchwork.ozlabs.org/api/patches/790646/comments/",
    "check": "pending",
    "checks": "http://patchwork.ozlabs.org/api/patches/790646/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 3xBvQw1Q5Dz9s06\n\tfor <patchwork-incoming@ozlabs.org>;\n\tWed, 19 Jul 2017 08:07:20 +1000 (AEST)",
            "from lists.ozlabs.org (lists.ozlabs.org [IPv6:2401:3900:2:1::3])\n\tby lists.ozlabs.org (Postfix) with ESMTP id 3xBvQw0YBjzDrKY\n\tfor <patchwork-incoming@ozlabs.org>;\n\tWed, 19 Jul 2017 08:07:20 +1000 (AEST)",
            "from mail-pg0-f65.google.com (mail-pg0-f65.google.com\n\t[74.125.83.65])\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 3xBtxV66hDzDrJ2\n\tfor <linuxppc-dev@lists.ozlabs.org>;\n\tWed, 19 Jul 2017 07:45:18 +1000 (AEST)",
            "by mail-pg0-f65.google.com with SMTP id v190so4355120pgv.1\n\tfor <linuxppc-dev@lists.ozlabs.org>;\n\tTue, 18 Jul 2017 14:45:18 -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.15\n\t(version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128);\n\tTue, 18 Jul 2017 14:45:16 -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=hxb17rt1IEAvrUiMXC9ziSSqeL2si2zwPkFKCScSIQU=;\n\tb=D3yjZWghwYpWv1eV0h+0ppC7BQ/C8zlYZIrXeIT89QyskhyH9/zl2DvE+g3pdpnhqU\n\t1uCqUl7Wz4Sikqq5HP4834Czmy75H5HL/p4gQ/D+yttTDiBVaf3M3Qez4DBowKDwtNXc\n\tQbzTRZBoErQVsC+dl8Ae9MkQzT0+2uQ2zddgPTaZctKX6rLNR3kxs9YWeDa41rmQMaqz\n\tChpPbbhADAgv4oHc7OYijX9SQLCPpHEs3u/WKEknf4V/dwAiZECullag1lzdiNgkJlFG\n\tuc1oMGO7kOJsxrRy49rcUuiVBZGX/hx+kQnMyCayn43sH+mEDhm3seSqBl2EZys+f2sE\n\tZJmg==",
        "X-Gm-Message-State": "AIVw11141qLD9UMXYBgB2WMhYJvijs7OQanOsyoy8kdLopJn72JPJzFF\n\t3SqPWI7IsQCVmw==",
        "X-Received": "by 10.98.34.15 with SMTP id i15mr3791785pfi.119.1500414317244;\n\tTue, 18 Jul 2017 14:45:17 -0700 (PDT)",
        "From": "Rob Herring <robh@kernel.org>",
        "To": "Takashi Iwai <tiwai@suse.com>,\n\tMark Brown <broonie@kernel.org>",
        "Subject": "[PATCH] sound: Convert to using %pOF instead of full_name",
        "Date": "Tue, 18 Jul 2017 16:43:38 -0500",
        "Message-Id": "<20170718214339.7774-58-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, alsa-devel@alsa-project.org,\n\tXiubo Li <Xiubo.Lee@gmail.com>, Liam Girdwood <lgirdwood@gmail.com>, \n\tTimur Tabi <timur@tabi.org>, linux-kernel@vger.kernel.org,\n\tNicolin Chen <nicoleotsuka@gmail.com>,\n\tFabio Estevam <fabio.estevam@nxp.com>, \n\tJohannes Berg <johannes@sipsolutions.net>,\n\tJaroslav Kysela <perex@perex.cz>, linuxppc-dev@lists.ozlabs.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: Johannes Berg <johannes@sipsolutions.net>\nCc: Jaroslav Kysela <perex@perex.cz>\nCc: Takashi Iwai <tiwai@suse.com>\nCc: Timur Tabi <timur@tabi.org>\nCc: Nicolin Chen <nicoleotsuka@gmail.com>\nCc: Xiubo Li <Xiubo.Lee@gmail.com>\nCc: Fabio Estevam <fabio.estevam@nxp.com>\nCc: Liam Girdwood <lgirdwood@gmail.com>\nCc: Mark Brown <broonie@kernel.org>\nCc: linuxppc-dev@lists.ozlabs.org\nCc: alsa-devel@alsa-project.org\n---\n sound/aoa/codecs/tas.c     |  4 ++--\n sound/soc/fsl/imx-audmux.c | 16 ++++++++--------\n 2 files changed, 10 insertions(+), 10 deletions(-)\n\n--\n2.11.0",
    "diff": "diff --git a/sound/aoa/codecs/tas.c b/sound/aoa/codecs/tas.c\nindex 733b6365dad6..15c05755d270 100644\n--- a/sound/aoa/codecs/tas.c\n+++ b/sound/aoa/codecs/tas.c\n@@ -905,8 +905,8 @@ static int tas_i2c_probe(struct i2c_client *client,\n \t\tgoto fail;\n \t}\n \tprintk(KERN_DEBUG\n-\t       \"snd-aoa-codec-tas: tas found, addr 0x%02x on %s\\n\",\n-\t       (unsigned int)client->addr, node->full_name);\n+\t       \"snd-aoa-codec-tas: tas found, addr 0x%02x on %pOF\\n\",\n+\t       (unsigned int)client->addr, node);\n \treturn 0;\n  fail:\n \tmutex_destroy(&tas->mtx);\ndiff --git a/sound/soc/fsl/imx-audmux.c b/sound/soc/fsl/imx-audmux.c\nindex fc57da341d61..392d5eef356d 100644\n--- a/sound/soc/fsl/imx-audmux.c\n+++ b/sound/soc/fsl/imx-audmux.c\n@@ -268,13 +268,13 @@ static int imx_audmux_parse_dt_defaults(struct platform_device *pdev,\n\n \t\tret = of_property_read_u32(child, \"fsl,audmux-port\", &port);\n \t\tif (ret) {\n-\t\t\tdev_warn(&pdev->dev, \"Failed to get fsl,audmux-port of child node \\\"%s\\\"\\n\",\n-\t\t\t\t\tchild->full_name);\n+\t\t\tdev_warn(&pdev->dev, \"Failed to get fsl,audmux-port of child node \\\"%pOF\\\"\\n\",\n+\t\t\t\t\tchild);\n \t\t\tcontinue;\n \t\t}\n \t\tif (!of_property_read_bool(child, \"fsl,port-config\")) {\n-\t\t\tdev_warn(&pdev->dev, \"child node \\\"%s\\\" does not have property fsl,port-config\\n\",\n-\t\t\t\t\tchild->full_name);\n+\t\t\tdev_warn(&pdev->dev, \"child node \\\"%pOF\\\" does not have property fsl,port-config\\n\",\n+\t\t\t\t\tchild);\n \t\t\tcontinue;\n \t\t}\n\n@@ -292,15 +292,15 @@ static int imx_audmux_parse_dt_defaults(struct platform_device *pdev,\n \t\t}\n\n \t\tif (ret != -EOVERFLOW) {\n-\t\t\tdev_err(&pdev->dev, \"Failed to read u32 at index %d of child %s\\n\",\n-\t\t\t\t\ti, child->full_name);\n+\t\t\tdev_err(&pdev->dev, \"Failed to read u32 at index %d of child %pOF\\n\",\n+\t\t\t\t\ti, child);\n \t\t\tcontinue;\n \t\t}\n\n \t\tif (audmux_type == IMX31_AUDMUX) {\n \t\t\tif (i % 2) {\n-\t\t\t\tdev_err(&pdev->dev, \"One pdcr value is missing in child node %s\\n\",\n-\t\t\t\t\t\tchild->full_name);\n+\t\t\t\tdev_err(&pdev->dev, \"One pdcr value is missing in child node %pOF\\n\",\n+\t\t\t\t\t\tchild);\n \t\t\t\tcontinue;\n \t\t\t}\n \t\t\timx_audmux_v2_configure_port(port, ptcr, pdcr);\n",
    "prefixes": []
}