Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/patches/790609/?format=api
{ "id": 790609, "url": "http://patchwork.ozlabs.org/api/patches/790609/?format=api", "web_url": "http://patchwork.ozlabs.org/project/linuxppc-dev/patch/20170718214339.7774-14-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-14-robh@kernel.org>", "list_archive_url": "https://lore.kernel.org/linuxppc-dev/20170718214339.7774-14-robh@kernel.org/", "date": "2017-07-18T21:42:54", "name": "cpufreq: Convert to using %pOF instead of full_name", "commit_ref": null, "pull_url": null, "state": "not-applicable", "archived": false, "hash": "400b99a3907aab44ad124f9ae5d72197d23dacea", "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-14-robh@kernel.org/mbox/", "series": [], "comments": "http://patchwork.ozlabs.org/api/patches/790609/comments/", "check": "pending", "checks": "http://patchwork.ozlabs.org/api/patches/790609/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 3xBv5j64pLz9sNw\n\tfor <patchwork-incoming@ozlabs.org>;\n\tWed, 19 Jul 2017 07:52:25 +1000 (AEST)", "from lists.ozlabs.org (lists.ozlabs.org [IPv6:2401:3900:2:1::3])\n\tby lists.ozlabs.org (Postfix) with ESMTP id 3xBv5j44stzDrKc\n\tfor <patchwork-incoming@ozlabs.org>;\n\tWed, 19 Jul 2017 07:52:25 +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 3xBtw74dmmzDrJf\n\tfor <linuxppc-dev@lists.ozlabs.org>;\n\tWed, 19 Jul 2017 07:44:07 +1000 (AEST)", "by mail-pg0-f65.google.com with SMTP id z1so4351908pgs.0\n\tfor <linuxppc-dev@lists.ozlabs.org>;\n\tTue, 18 Jul 2017 14:44:07 -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.04\n\t(version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128);\n\tTue, 18 Jul 2017 14:44:05 -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=Cp6wQ4XgXAVPZ+YeoI61WL5uqh+0gRvC9w7t93uXBxg=;\n\tb=bEPyZnESVN8EWlT4AXf7U+YwGSVpSSNzPR+2azr7r8aYaEWuDOUp6MHAbfexsYSA4B\n\tti562+3NFSY7KmE4jLF6EpeNzntgZioOGz9ySd8kfMHEYrdaUgUC/QqLvpe2q6mrLNfY\n\tRblPvQSVJUws8SK5IbFTj5MiiSFqghyWatdiLRF7JKC3jVsJAcGrc+/wWXzWx+mT0XMp\n\tZKq64KrHn0bkerzTGvyp7fJvvoI3fYYq+MArr5AvHUc512xWmnxiqWGw1c4/GozrbxtA\n\t0Y5Oukqrik87gArONaBUJRYt6O5SFvNvdDV4WrhSMp8jgBdUn7BFhQ0GClMCTJwO6D2S\n\tuo2Q==", "X-Gm-Message-State": "AIVw1137/PKoIYH/Wk8Qu7p6p5RfEHz0qDOU9rx9MDR79IoAEVUT8kkH\n\tJ1NqPPvNGPUi7w==", "X-Received": "by 10.84.163.75 with SMTP id n11mr3907820plg.186.1500414245797; \n\tTue, 18 Jul 2017 14:44:05 -0700 (PDT)", "From": "Rob Herring <robh@kernel.org>", "To": "\"Rafael J. Wysocki\" <rjw@rjwysocki.net>", "Subject": "[PATCH] cpufreq: Convert to using %pOF instead of full_name", "Date": "Tue, 18 Jul 2017 16:42:54 -0500", "Message-Id": "<20170718214339.7774-14-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, kernel@stlinux.com, linux-pm@vger.kernel.org,\n\tlinux-kernel@vger.kernel.org, Patrice Chotard <patrice.chotard@st.com>,\n\tViresh Kumar <viresh.kumar@linaro.org>,\n\tPaul Mackerras <paulus@samba.org>, \n\tlinuxppc-dev@lists.ozlabs.org, linux-arm-kernel@lists.infradead.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: \"Rafael J. Wysocki\" <rjw@rjwysocki.net>\nCc: Viresh Kumar <viresh.kumar@linaro.org>\nCc: Benjamin Herrenschmidt <benh@kernel.crashing.org>\nCc: Paul Mackerras <paulus@samba.org>\nCc: Michael Ellerman <mpe@ellerman.id.au>\nCc: Patrice Chotard <patrice.chotard@st.com>\nCc: linux-pm@vger.kernel.org\nCc: linuxppc-dev@lists.ozlabs.org\nCc: linux-arm-kernel@lists.infradead.org\nCc: kernel@stlinux.com\n---\n drivers/cpufreq/pmac64-cpufreq.c | 2 +-\n drivers/cpufreq/sti-cpufreq.c | 8 ++++----\n 2 files changed, 5 insertions(+), 5 deletions(-)\n\n--\n2.11.0", "diff": "diff --git a/drivers/cpufreq/pmac64-cpufreq.c b/drivers/cpufreq/pmac64-cpufreq.c\nindex 267e0894c62d..be623dd7b9f2 100644\n--- a/drivers/cpufreq/pmac64-cpufreq.c\n+++ b/drivers/cpufreq/pmac64-cpufreq.c\n@@ -516,7 +516,7 @@ static int __init g5_pm72_cpufreq_init(struct device_node *cpunode)\n \t\tgoto bail;\n \t}\n\n-\tDBG(\"cpufreq: i2c clock chip found: %s\\n\", hwclock->full_name);\n+\tDBG(\"cpufreq: i2c clock chip found: %pOF\\n\", hwclock);\n\n \t/* Now get all the platform functions */\n \tpfunc_cpu_getfreq =\ndiff --git a/drivers/cpufreq/sti-cpufreq.c b/drivers/cpufreq/sti-cpufreq.c\nindex d2d0430d09d4..47105735df12 100644\n--- a/drivers/cpufreq/sti-cpufreq.c\n+++ b/drivers/cpufreq/sti-cpufreq.c\n@@ -65,8 +65,8 @@ static int sti_cpufreq_fetch_major(void) {\n \tret = of_property_read_u32_index(np, \"st,syscfg\",\n \t\t\t\t\t MAJOR_ID_INDEX, &major_offset);\n \tif (ret) {\n-\t\tdev_err(dev, \"No major number offset provided in %s [%d]\\n\",\n-\t\t\tnp->full_name, ret);\n+\t\tdev_err(dev, \"No major number offset provided in %pOF [%d]\\n\",\n+\t\t\tnp, ret);\n \t\treturn ret;\n \t}\n\n@@ -92,8 +92,8 @@ static int sti_cpufreq_fetch_minor(void)\n \t\t\t\t\t MINOR_ID_INDEX, &minor_offset);\n \tif (ret) {\n \t\tdev_err(dev,\n-\t\t\t\"No minor number offset provided %s [%d]\\n\",\n-\t\t\tnp->full_name, ret);\n+\t\t\t\"No minor number offset provided %pOF [%d]\\n\",\n+\t\t\tnp, ret);\n \t\treturn ret;\n \t}\n\n", "prefixes": [] }