Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/patches/759444/?format=api
{ "id": 759444, "url": "http://patchwork.ozlabs.org/api/patches/759444/?format=api", "web_url": "http://patchwork.ozlabs.org/project/linuxppc-dev/patch/98cb37ed-adee-3e13-8501-baa500c27951@users.sourceforge.net/", "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": "<98cb37ed-adee-3e13-8501-baa500c27951@users.sourceforge.net>", "list_archive_url": "https://lore.kernel.org/linuxppc-dev/98cb37ed-adee-3e13-8501-baa500c27951@users.sourceforge.net/", "date": "2017-05-07T14:38:36", "name": "powerpc/mm: Use seq_putc() in two functions", "commit_ref": "aae85e3c20ec3baa90aa901a517c8f4cc684b278", "pull_url": null, "state": "accepted", "archived": false, "hash": "c7a69b76c26ecc2adfc9dae1fe75f7fbfaeb060c", "submitter": { "id": 65077, "url": "http://patchwork.ozlabs.org/api/people/65077/?format=api", "name": "SF Markus Elfring", "email": "elfring@users.sourceforge.net" }, "delegate": null, "mbox": "http://patchwork.ozlabs.org/project/linuxppc-dev/patch/98cb37ed-adee-3e13-8501-baa500c27951@users.sourceforge.net/mbox/", "series": [], "comments": "http://patchwork.ozlabs.org/api/patches/759444/comments/", "check": "pending", "checks": "http://patchwork.ozlabs.org/api/patches/759444/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 3wLT2W5mkjz9s7f\n\tfor <patchwork-incoming@ozlabs.org>;\n\tMon, 8 May 2017 00:45:39 +1000 (AEST)", "from lists.ozlabs.org (lists.ozlabs.org [IPv6:2401:3900:2:1::3])\n\tby lists.ozlabs.org (Postfix) with ESMTP id 3wLT2W55QxzDqG4\n\tfor <patchwork-incoming@ozlabs.org>;\n\tMon, 8 May 2017 00:45:39 +1000 (AEST)", "from mout.web.de (mout.web.de [212.227.15.4])\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 3wLT1L4F2MzDqFW\n\tfor <linuxppc-dev@lists.ozlabs.org>;\n\tMon, 8 May 2017 00:44:38 +1000 (AEST)", "from [192.168.1.3] ([77.182.161.211]) by smtp.web.de (mrweb002\n\t[213.165.67.108]) with ESMTPSA (Nemesis) id 0MWinD-1dZAuR3zZb-00XrS5;\n\tSun, 07 May 2017 16:38:41 +0200" ], "X-Greylist": "delayed 340 seconds by postgrey-1.36 at bilbo;\n\tMon, 08 May 2017 00:44:38 AEST", "To": "linuxppc-dev@lists.ozlabs.org,\n\tBenjamin Herrenschmidt <benh@kernel.crashing.org>,\n\tChristophe Leroy <christophe.leroy@c-s.fr>,\n\tMichael Ellerman <mpe@ellerman.id.au>,\n\tOliver O'Halloran <oohall@gmail.com>, Paul Mackerras <paulus@samba.org>,\n\tRashmica Gupta <rashmica.g@gmail.com>", "From": "SF Markus Elfring <elfring@users.sourceforge.net>", "Subject": "[PATCH] powerpc/mm: Use seq_putc() in two functions", "Message-ID": "<98cb37ed-adee-3e13-8501-baa500c27951@users.sourceforge.net>", "Date": "Sun, 7 May 2017 16:38:36 +0200", "User-Agent": "Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101\n\tThunderbird/52.0.1", "MIME-Version": "1.0", "Content-Type": "text/plain; charset=utf-8", "Content-Language": "en-US", "Content-Transfer-Encoding": "7bit", "X-Provags-ID": "V03:K0:Ae1cxW1+y8pSCZf8/Vb9w4hmzXK3HU63Ak8kLeSrB5dCuEa5MO/\n\t8KtWxqUqXU86iVjuBa7l6I4C7siH4HRuEOz15pfvYr3nFFswjbpVYx4RJfu29angXDnWNl7\n\tdVC6TLCPTA92So3HjWK8CLMTtjXWIZwFlE7kZ5z8N/83MTW9PtlzR500onkK36hc+YKskG0\n\t9iAcETCclTHow4if5obww==", "X-UI-Out-Filterresults": "notjunk:1; V01:K0:pUL6FvMlJno=:0D4Aut1yAu/Lw0pNlnwigO\n\tTFNsh8yV2ekG+JtlQRsxgsNRQvaodXHAYV9FND4Vo5PHFBpGGUTtAGv0n3K4ztJ1zpM5sl8ll\n\tBLAQ15rz1e47L/yn+bdobljclJVsLXt79gfUJF4I58lCRBJ6aFtqSeGmap+12J0NyRzK1kzgf\n\tDCHx/kUKRQrAGOImkRDEhttlOzn6fiMo7Y5fP5K8dajnkhhV7X/hVjmHn8XGvUpb+94gwN6Eq\n\tWSRerlcQ71Etdhd4KM90tSDT+YDIghmlvwuh4SHENJVvvMsnD7+5RymLE8i4coRL/3EVcXRZA\n\tDGgVf2/sBBVSMiNNnG1bC42XC6T8/I7ykEfrvKc+7NPHyB1QpcEu86lc6k9RrG8J8NoPVYIne\n\tD94lB8du4RNtfNr1hYk3vqc8wkMF6oyXZIlclvbO0atVtamCp/SSVMvQxAc1R7ceTu+VmKyGL\n\thqRsUGGUkLF6M0uQo5DFYOye3haubEqvum4+G0LuqP0ck52+MVL8Itm1RUWZsZRUufe+BqrUD\n\tT5mpbNqiNT6A3WIE1GoazwK0QYin5OqQG41/OTi5dfs/hdx4SH5goDXuW4tpBb3vq7KM0PhwJ\n\tY5l/9sAEO4hKHFl0tDbim1WZCvOt98lQJJ3o0l4XMPwhBY5pz9lUZ9rzU4bcL91He09F6LeGz\n\trdkWUFKuRwj9/UXRVs/kjWXVzb1OGIJH9vX3ScYphVlY4Q0gp08/AJR5DBMluE8sZTzbWdJjH\n\tL7VxeGjuuKHaiyloJG3akgrpE0EBj/mf0Am4eRKloA/K0fhWLG+p7kKp/7dsk5IIsn1Lj5RCI\n\trMuj5HT", "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": "kernel-janitors@vger.kernel.org, LKML <linux-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": "From: Markus Elfring <elfring@users.sourceforge.net>\nDate: Sun, 7 May 2017 16:32:04 +0200\n\nTwo single characters (line breaks) should be put into a sequence.\nThus use the corresponding function \"seq_putc\".\n\nThis issue was detected by using the Coccinelle software.\n\nSigned-off-by: Markus Elfring <elfring@users.sourceforge.net>\n---\n arch/powerpc/mm/dump_hashpagetable.c | 2 +-\n arch/powerpc/mm/dump_linuxpagetables.c | 2 +-\n 2 files changed, 2 insertions(+), 2 deletions(-)", "diff": "diff --git a/arch/powerpc/mm/dump_hashpagetable.c b/arch/powerpc/mm/dump_hashpagetable.c\nindex c6b900f54c07..31d248c82f95 100644\n--- a/arch/powerpc/mm/dump_hashpagetable.c\n+++ b/arch/powerpc/mm/dump_hashpagetable.c\n@@ -205,7 +205,7 @@ static void dump_hpte_info(struct pg_state *st, unsigned long ea, u64 v, u64 r,\n \taps_index = calculate_pagesize(st, aps, \"actual\");\n \tif (aps_index != 2)\n \t\tseq_printf(st->seq, \"LP enc: %lx\", lp);\n-\tseq_puts(st->seq, \"\\n\");\n+\tseq_putc(st->seq, '\\n');\n }\n \n \ndiff --git a/arch/powerpc/mm/dump_linuxpagetables.c b/arch/powerpc/mm/dump_linuxpagetables.c\nindex d659345a98d6..5c08de16339d 100644\n--- a/arch/powerpc/mm/dump_linuxpagetables.c\n+++ b/arch/powerpc/mm/dump_linuxpagetables.c\n@@ -349,7 +349,7 @@ static void note_page(struct pg_state *st, unsigned long addr,\n \t\t\t\t\t st->current_flags,\n \t\t\t\t\t pg_level[st->level].num);\n \n-\t\t\tseq_puts(st->seq, \"\\n\");\n+\t\t\tseq_putc(st->seq, '\\n');\n \t\t}\n \n \t\t/*\n", "prefixes": [] }