Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/patches/817601/?format=api
{ "id": 817601, "url": "http://patchwork.ozlabs.org/api/patches/817601/?format=api", "web_url": "http://patchwork.ozlabs.org/project/qemu-devel/patch/20170922154014.29350-9-f4bug@amsat.org/", "project": { "id": 14, "url": "http://patchwork.ozlabs.org/api/projects/14/?format=api", "name": "QEMU Development", "link_name": "qemu-devel", "list_id": "qemu-devel.nongnu.org", "list_email": "qemu-devel@nongnu.org", "web_url": "", "scm_url": "", "webscm_url": "", "list_archive_url": "", "list_archive_url_format": "", "commit_url_format": "" }, "msgid": "<20170922154014.29350-9-f4bug@amsat.org>", "list_archive_url": null, "date": "2017-09-22T15:39:48", "name": "[08/34] nios2: remove duplicated includes", "commit_ref": null, "pull_url": null, "state": "superseded", "archived": true, "hash": "53854ed51030aaa0ea0f9b540144429ca4161e70", "submitter": { "id": 70924, "url": "http://patchwork.ozlabs.org/api/people/70924/?format=api", "name": "Philippe Mathieu-Daudé", "email": "f4bug@amsat.org" }, "delegate": null, "mbox": "http://patchwork.ozlabs.org/project/qemu-devel/patch/20170922154014.29350-9-f4bug@amsat.org/mbox/", "series": [ { "id": 4657, "url": "http://patchwork.ozlabs.org/api/series/4657/?format=api", "web_url": "http://patchwork.ozlabs.org/project/qemu-devel/list/?series=4657", "date": "2017-09-22T15:39:40", "name": "remove i386/pc dependency from non-PC world (part 1)", "version": 1, "mbox": "http://patchwork.ozlabs.org/series/4657/mbox/" } ], "comments": "http://patchwork.ozlabs.org/api/patches/817601/comments/", "check": "pending", "checks": "http://patchwork.ozlabs.org/api/patches/817601/checks/", "tags": {}, "related": [], "headers": { "Return-Path": "<qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org>", "X-Original-To": "incoming@patchwork.ozlabs.org", "Delivered-To": "patchwork-incoming@bilbo.ozlabs.org", "Authentication-Results": [ "ozlabs.org;\n\tspf=pass (mailfrom) smtp.mailfrom=nongnu.org\n\t(client-ip=2001:4830:134:3::11; helo=lists.gnu.org;\n\tenvelope-from=qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org;\n\treceiver=<UNKNOWN>)", "ozlabs.org;\n\tdkim=fail reason=\"signature verification failed\" (2048-bit key;\n\tunprotected) header.d=gmail.com header.i=@gmail.com\n\theader.b=\"AIm04xK5\"; dkim-atps=neutral" ], "Received": [ "from lists.gnu.org (lists.gnu.org [IPv6:2001:4830:134:3::11])\n\t(using TLSv1 with cipher AES256-SHA (256/256 bits))\n\t(No client certificate requested)\n\tby ozlabs.org (Postfix) with ESMTPS id 3xzHxL687Lz9s83\n\tfor <incoming@patchwork.ozlabs.org>;\n\tSat, 23 Sep 2017 01:50:14 +1000 (AEST)", "from localhost ([::1]:59617 helo=lists.gnu.org)\n\tby lists.gnu.org with esmtp (Exim 4.71) (envelope-from\n\t<qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org>)\n\tid 1dvQDU-0003rW-U7\n\tfor incoming@patchwork.ozlabs.org; Fri, 22 Sep 2017 11:50:12 -0400", "from eggs.gnu.org ([2001:4830:134:3::10]:41361)\n\tby lists.gnu.org with esmtp (Exim 4.71)\n\t(envelope-from <philippe.mathieu.daude@gmail.com>)\n\tid 1dvQ4c-0004Yu-3r\n\tfor qemu-devel@nongnu.org; Fri, 22 Sep 2017 11:41:03 -0400", "from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)\n\t(envelope-from <philippe.mathieu.daude@gmail.com>)\n\tid 1dvQ4a-0003Ak-Uj\n\tfor qemu-devel@nongnu.org; Fri, 22 Sep 2017 11:41:02 -0400", "from mail-qk0-x242.google.com ([2607:f8b0:400d:c09::242]:34478)\n\tby eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16)\n\t(Exim 4.71) (envelope-from <philippe.mathieu.daude@gmail.com>)\n\tid 1dvQ4a-0003AX-Qc; Fri, 22 Sep 2017 11:41:00 -0400", "by mail-qk0-x242.google.com with SMTP id d70so874763qkc.1;\n\tFri, 22 Sep 2017 08:41:00 -0700 (PDT)", "from yoga.lan ([181.93.89.178]) by smtp.gmail.com with ESMTPSA id\n\tz75sm71742qkb.71.2017.09.22.08.40.57\n\t(version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128);\n\tFri, 22 Sep 2017 08:40:59 -0700 (PDT)" ], "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025;\n\th=sender:from:to:cc:subject:date:message-id:in-reply-to:references\n\t:mime-version:content-transfer-encoding;\n\tbh=TuJsr879PFvaqLCRpQzl3bdsbcxyDztlW0TEEdoI4H0=;\n\tb=AIm04xK57u6q9U9G520sAX0bTAmLDmy+2BlT/hY8GHMkkhke/4gZaKZclsKfrjAQZS\n\tLihYNuitO3Q9uiH80wX3kfWOGa4Vo8jVdhCSJv9AO1cHJmJVPrFTtOKUVjgHFsSvWbSW\n\twZTL1rrqTTjJnx8VSNV5Ki3TzLLaOFayTbgZlFgJGSSUVVvqEIvv172DFy6is+/IGeno\n\tcBMKAY/haUmM7iwSIdU7VS5ludKroO05d9I4PT35LHuJJykQSP5PrKQRgEHGTbQiPPcy\n\tzr3tCJWK5bZEvn+SqSRjPFRN6g4Bi3rcgSVXVPpeahOUYagHGAQJ6wB7jwpAGxlPV0VQ\n\tMl/A==", "X-Google-DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed;\n\td=1e100.net; s=20161025;\n\th=x-gm-message-state:sender:from:to:cc:subject:date:message-id\n\t:in-reply-to:references:mime-version:content-transfer-encoding;\n\tbh=TuJsr879PFvaqLCRpQzl3bdsbcxyDztlW0TEEdoI4H0=;\n\tb=dtxWFTE86LZSBaDQEZ7hZALC2XZU88RqkKMt24Dc3SS2rCknPOk/lzUO/lrwTmYs6b\n\t2C+7xXPMhIMLxmSFBJVgimVHbb5OVO3G7Nx8oJSNiRI7jZvggwPFdEdmdjKKQzTB1eaw\n\tpY6OkICrx/szDa4f8CN1iRhfajLnUEmuM3F6QlVK0YLI2zq2n8Qq2Gs3TH+BjdrWX0oU\n\thlCeON8IlFGPLBxqZAc4JReWx+/zeaO2FYJL7LxUPPPhnD+rR9ssDRubITcB/6iELOpC\n\tSMvyQ+n2Fq0OIEH3RRNHVPeLQUK3vlZlpfOKZ7ZD7MTT8uM7FKzoe/Hbs7azynAZXU9r\n\tRAMg==", "X-Gm-Message-State": "AHPjjUiGPSQyiwG0XTRojkbXJ6LrrBvyr9V2xx02CRkXfnoUEV2kLKxQ\n\ts27s8lYUtbXiEtTmNjxwqUg=", "X-Google-Smtp-Source": "AOwi7QDHLxHzTn68cJtK5ivUBJRGLmcYtTqrUHuKJLwqgwnJEtN+Q584BtHXEp9rKawgWeZwn4vAWA==", "X-Received": "by 10.55.212.220 with SMTP id s89mr8643685qks.300.1506094860247; \n\tFri, 22 Sep 2017 08:41:00 -0700 (PDT)", "From": "=?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= <f4bug@amsat.org>", "To": "Peter Maydell <peter.maydell@linaro.org>, Thomas Huth <thuth@redhat.com>,\n\tChris Wulff <crwulff@gmail.com>, Marek Vasut <marex@denx.de>", "Date": "Fri, 22 Sep 2017 12:39:48 -0300", "Message-Id": "<20170922154014.29350-9-f4bug@amsat.org>", "X-Mailer": "git-send-email 2.14.1", "In-Reply-To": "<20170922154014.29350-1-f4bug@amsat.org>", "References": "<20170922154014.29350-1-f4bug@amsat.org>", "MIME-Version": "1.0", "Content-Type": "text/plain; charset=UTF-8", "Content-Transfer-Encoding": "8bit", "X-detected-operating-system": "by eggs.gnu.org: Genre and OS details not\n\trecognized.", "X-Received-From": "2607:f8b0:400d:c09::242", "Subject": "[Qemu-devel] [PATCH 08/34] nios2: remove duplicated includes", "X-BeenThere": "qemu-devel@nongnu.org", "X-Mailman-Version": "2.1.21", "Precedence": "list", "List-Id": "<qemu-devel.nongnu.org>", "List-Unsubscribe": "<https://lists.nongnu.org/mailman/options/qemu-devel>,\n\t<mailto:qemu-devel-request@nongnu.org?subject=unsubscribe>", "List-Archive": "<http://lists.nongnu.org/archive/html/qemu-devel/>", "List-Post": "<mailto:qemu-devel@nongnu.org>", "List-Help": "<mailto:qemu-devel-request@nongnu.org?subject=help>", "List-Subscribe": "<https://lists.nongnu.org/mailman/listinfo/qemu-devel>,\n\t<mailto:qemu-devel-request@nongnu.org?subject=subscribe>", "Cc": "qemu-trivial@nongnu.org, =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?=\n\t<f4bug@amsat.org>, \tqemu-devel@nongnu.org", "Errors-To": "qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org", "Sender": "\"Qemu-devel\"\n\t<qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org>" }, "content": "applied using ./scripts/clean-includes\n\nSigned-off-by: Philippe Mathieu-Daudé <f4bug@amsat.org>\n---\n target/nios2/cpu.h | 1 -\n disas/nios2.c | 3 ---\n hw/nios2/boot.c | 1 -\n target/nios2/helper.c | 7 ++-----\n target/nios2/op_helper.c | 1 +\n target/nios2/translate.c | 1 +\n 6 files changed, 4 insertions(+), 10 deletions(-)", "diff": "diff --git a/target/nios2/cpu.h b/target/nios2/cpu.h\nindex 50d803a217..fda02c39b9 100644\n--- a/target/nios2/cpu.h\n+++ b/target/nios2/cpu.h\n@@ -20,7 +20,6 @@\n #ifndef CPU_NIOS2_H\n #define CPU_NIOS2_H\n \n-#include \"qemu/osdep.h\"\n #include \"qemu-common.h\"\n \n #define TARGET_LONG_BITS 32\ndiff --git a/disas/nios2.c b/disas/nios2.c\nindex b342936d21..de11f04cc4 100644\n--- a/disas/nios2.c\n+++ b/disas/nios2.c\n@@ -1756,7 +1756,6 @@ extern const int nios2_num_r2_reg_range_mappings;\n #endif /* _NIOS2_H */\n \n /*#include \"sysdep.h\"\n-#include <stdio.h>\n #include \"opcode/nios2.h\"\n */\n /* Register string table */\n@@ -2521,8 +2520,6 @@ const int nios2_num_r2_reg_range_mappings = 8;\n #include \"dis-asm.h\"\n #include \"opcode/nios2.h\"\n #include \"libiberty.h\"\n-#include <string.h>\n-#include <assert.h>\n */\n /* No symbol table is available when this code runs out in an embedded\n system as when it is used for disassembler support in a monitor. */\ndiff --git a/hw/nios2/boot.c b/hw/nios2/boot.c\nindex 2b31f5b844..94f436e7fb 100644\n--- a/hw/nios2/boot.c\n+++ b/hw/nios2/boot.c\n@@ -34,7 +34,6 @@\n #include \"qemu/option.h\"\n #include \"qemu/config-file.h\"\n #include \"qemu/error-report.h\"\n-#include \"qemu-common.h\"\n #include \"sysemu/device_tree.h\"\n #include \"sysemu/sysemu.h\"\n #include \"hw/loader.h\"\ndiff --git a/target/nios2/helper.c b/target/nios2/helper.c\nindex ef9ee05798..9f741a8f19 100644\n--- a/target/nios2/helper.c\n+++ b/target/nios2/helper.c\n@@ -18,12 +18,9 @@\n * <http://www.gnu.org/licenses/lgpl-2.1.html>\n */\n \n-#include <stdio.h>\n-#include <string.h>\n-#include <assert.h>\n-\n-#include \"cpu.h\"\n #include \"qemu/osdep.h\"\n+\n+#include \"cpu.h\"\n #include \"qemu/host-utils.h\"\n #include \"qapi/error.h\"\n #include \"exec/exec-all.h\"\ndiff --git a/target/nios2/op_helper.c b/target/nios2/op_helper.c\nindex efb1c489c9..c853aeae02 100644\n--- a/target/nios2/op_helper.c\n+++ b/target/nios2/op_helper.c\n@@ -18,6 +18,7 @@\n * <http://www.gnu.org/licenses/lgpl-2.1.html>\n */\n \n+#include \"qemu/osdep.h\"\n #include \"cpu.h\"\n #include \"exec/helper-proto.h\"\n #include \"exec/cpu_ldst.h\"\ndiff --git a/target/nios2/translate.c b/target/nios2/translate.c\nindex 6b0961837d..796d399bd1 100644\n--- a/target/nios2/translate.c\n+++ b/target/nios2/translate.c\n@@ -21,6 +21,7 @@\n * <http://www.gnu.org/licenses/lgpl-2.1.html>\n */\n \n+#include \"qemu/osdep.h\"\n #include \"cpu.h\"\n #include \"tcg-op.h\"\n #include \"exec/exec-all.h\"\n", "prefixes": [ "08/34" ] }