Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/patches/792300/?format=api
{ "id": 792300, "url": "http://patchwork.ozlabs.org/api/patches/792300/?format=api", "web_url": "http://patchwork.ozlabs.org/project/linuxppc-dev/patch/20170721192835.25555-3-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": "<20170721192835.25555-3-robh@kernel.org>", "list_archive_url": "https://lore.kernel.org/linuxppc-dev/20170721192835.25555-3-robh@kernel.org/", "date": "2017-07-21T19:28:34", "name": "[v2] sound: Convert to using %pOF instead of full_name", "commit_ref": null, "pull_url": null, "state": "not-applicable", "archived": false, "hash": "fe3078098135056a27ae6e353bd91ea1d61e4492", "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/20170721192835.25555-3-robh@kernel.org/mbox/", "series": [], "comments": "http://patchwork.ozlabs.org/api/patches/792300/comments/", "check": "pending", "checks": "http://patchwork.ozlabs.org/api/patches/792300/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 3xDgpH1BGhz9s4q\n\tfor <patchwork-incoming@ozlabs.org>;\n\tSat, 22 Jul 2017 05:30:15 +1000 (AEST)", "from lists.ozlabs.org (lists.ozlabs.org [IPv6:2401:3900:2:1::3])\n\tby lists.ozlabs.org (Postfix) with ESMTP id 3xDgpG6x9DzDrD8\n\tfor <patchwork-incoming@ozlabs.org>;\n\tSat, 22 Jul 2017 05:30:14 +1000 (AEST)", "from mail-yb0-f195.google.com (mail-yb0-f195.google.com\n\t[209.85.213.195])\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 3xDgmn6PvRzDqx5\n\tfor <linuxppc-dev@lists.ozlabs.org>;\n\tSat, 22 Jul 2017 05:28:57 +1000 (AEST)", "by mail-yb0-f195.google.com with SMTP id z37so1894304ybh.0\n\tfor <linuxppc-dev@lists.ozlabs.org>;\n\tFri, 21 Jul 2017 12:28:57 -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\tq11sm1929431ywj.78.2017.07.21.12.28.52\n\t(version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128);\n\tFri, 21 Jul 2017 12:28:54 -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=1xS9336wzFvhkF8AXkxNYU9CNrTGFgOoVxWCdtJ3W7U=;\n\tb=oBsoH5dmSRsAvaY21dn3gDydW+DrjNKr4cnH5Og74tBYMpRnB7E6U7O3gDnEat6xxY\n\t58+Lgd6a3zjB0seqXFYoxjY2XTpTxnSV6Ex2Au8KAr/fbCvFV3zzB4yxwrOZlw6ZN2Wa\n\ttDnEzWjcfg28zzbfWeRbUVyCKB+Fw9e+bVvLP4pY3AiEoknSvMAFijX2tOF8YAai5KV4\n\tUsqmNh2DkQJsgx8MzQ2TaKUPRIAuGvpwhNwplK/89lk9bC1sh07vgbCAOVyUrUuVX1z0\n\tqw422vo6cDvwwVMXzx5pQA1tRFfSo5Ymq+ugjJ43WpY9W0z4OY7ID++9Nsj6m2LzX8YH\n\tFjlA==", "X-Gm-Message-State": "AIVw11139jSgDxVjEiBlY942Ul7y55zPWG7MJ9mbrZMQanA24C7btei4\n\tEezKKMJCJo0TSg==", "X-Received": "by 10.37.228.69 with SMTP id b66mr7661887ybh.28.1500665335001;\n\tFri, 21 Jul 2017 12:28:55 -0700 (PDT)", "From": "Rob Herring <robh@kernel.org>", "To": "Takashi Iwai <tiwai@suse.com>,\n\tMark Brown <broonie@kernel.org>", "Subject": "[PATCH v2] sound: Convert to using %pOF instead of full_name", "Date": "Fri, 21 Jul 2017 14:28:34 -0500", "Message-Id": "<20170721192835.25555-3-robh@kernel.org>", "X-Mailer": "git-send-email 2.11.0", "In-Reply-To": "<20170721192835.25555-1-robh@kernel.org>", "References": "<20170721192835.25555-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": "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---\nv2:\n- Add printf specifier change for fsl_dma.c\n\n sound/aoa/codecs/tas.c | 4 ++--\n sound/soc/fsl/fsl_dma.c | 4 ++--\n sound/soc/fsl/imx-audmux.c | 16 ++++++++--------\n 3 files changed, 12 insertions(+), 12 deletions(-)", "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/fsl_dma.c b/sound/soc/fsl/fsl_dma.c\nindex ccadefceeff2..ed8ea002902d 100644\n--- a/sound/soc/fsl/fsl_dma.c\n+++ b/sound/soc/fsl/fsl_dma.c\n@@ -897,8 +897,8 @@ static int fsl_soc_dma_probe(struct platform_device *pdev)\n \n \tret = of_address_to_resource(ssi_np, 0, &res);\n \tif (ret) {\n-\t\tdev_err(&pdev->dev, \"could not determine resources for %s\\n\",\n-\t\t\tssi_np->full_name);\n+\t\tdev_err(&pdev->dev, \"could not determine resources for %pOF\\n\",\n+\t\t\tssi_np);\n \t\tof_node_put(ssi_np);\n \t\treturn ret;\n \t}\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": [ "v2" ] }