get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 817597,
    "url": "http://patchwork.ozlabs.org/api/patches/817597/?format=api",
    "web_url": "http://patchwork.ozlabs.org/project/qemu-devel/patch/20170922154014.29350-10-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-10-f4bug@amsat.org>",
    "list_archive_url": null,
    "date": "2017-09-22T15:39:49",
    "name": "[09/34] misc: avoid \"include/\" in include path",
    "commit_ref": null,
    "pull_url": null,
    "state": "superseded",
    "archived": true,
    "hash": "186965e31a6e9851c5e43e3efc148be605018306",
    "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-10-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/817597/comments/",
    "check": "pending",
    "checks": "http://patchwork.ozlabs.org/api/patches/817597/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=\"dzBRaU8b\"; 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 3xzHtS1WHKz9t3h\n\tfor <incoming@patchwork.ozlabs.org>;\n\tSat, 23 Sep 2017 01:47:44 +1000 (AEST)",
            "from localhost ([::1]:59605 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 1dvQB4-0001s3-6w\n\tfor incoming@patchwork.ozlabs.org; Fri, 22 Sep 2017 11:47:42 -0400",
            "from eggs.gnu.org ([2001:4830:134:3::10]:41413)\n\tby lists.gnu.org with esmtp (Exim 4.71)\n\t(envelope-from <philippe.mathieu.daude@gmail.com>)\n\tid 1dvQ4e-0004br-Lz\n\tfor qemu-devel@nongnu.org; Fri, 22 Sep 2017 11:41:05 -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 1dvQ4d-0003CU-SP\n\tfor qemu-devel@nongnu.org; Fri, 22 Sep 2017 11:41:04 -0400",
            "from mail-qk0-x242.google.com ([2607:f8b0:400d:c09::242]:34479)\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 1dvQ4d-0003CE-NS; Fri, 22 Sep 2017 11:41:03 -0400",
            "by mail-qk0-x242.google.com with SMTP id d70so874827qkc.1;\n\tFri, 22 Sep 2017 08:41:03 -0700 (PDT)",
            "from yoga.lan ([181.93.89.178]) by smtp.gmail.com with ESMTPSA id\n\tz75sm71742qkb.71.2017.09.22.08.41.00\n\t(version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128);\n\tFri, 22 Sep 2017 08:41:02 -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=WX/okiQsZXJT3rw6dra6YpjKNWcldMZ25hpMuwmA8lk=;\n\tb=dzBRaU8bo122+D5/4hPQ0bUd2tm5K1Fofy/fZfS5KpA4jk3eI6axr6uBaeM3vtt9E2\n\t/aTHuddd04r8wT3slv1YVea79V2ezjrqqL8BBQpIaAyNYq0Hze7F43+S+cK1WqrayU9Q\n\tprZLfxdVKIGGXhO1IBK4j2Q185BAP3O70gtX55gD9iE0MGCxixv8QhQyRTSE8LnBIIq5\n\taaatnKQtp7fVVd4Mf+ulrNkDE5KzvtgPDaEzHP0a55M0x22kBHFFDPSEX4WI6CinQeou\n\tAQU39UfrT9URIQCS/l3DFjMKn0fdBIZ3L7cV7umhB3l4It0a6ljI75RfNUtJPc+Gns/g\n\tSO1A==",
        "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=WX/okiQsZXJT3rw6dra6YpjKNWcldMZ25hpMuwmA8lk=;\n\tb=k+1vb37r45Zh/VP3LaN+6+Z8oD3nRcOTJXEPfJzQpfeiNXXdeejN0EgaMF7VzKWKFJ\n\tYFjtAGzBZI7QE2PHcfRJswm0P3k59Sn3IlATSQqLzoB7wQVcvvZth4OYbg8Pi0oOgmbW\n\tQ9QIdkijKOrxbdpuQy4SyZFJKil0XniJFsW9Wjz1Tz+hYqdqURL4lSis4ncbp9Mq4qmG\n\tYiXGcYPXX+Kzbj2/1+D6SVzlPKhRn2bS9uHo/YvvRKUjOL5R45OQ/fvBMhYxFUL7FR4b\n\tL/w9m1jo9XWl8cEV8C5SuqTGQ+c0e1rNzE92Pvdasnc4rYSbP+dIzNHPIl7UqVaXpeCq\n\tn0Ww==",
        "X-Gm-Message-State": "AHPjjUjZJufbZyMUAz0BlM3s1bI62+3YkCVwGXnJoRuQF+xf2vH9b03h\n\tkG2/oktW1ySgi1eo+iSeWvM=",
        "X-Google-Smtp-Source": "AOwi7QBvT8JenV+qnsrffJsUcXUyY8iXoo2EIoLQtIKWgeNyUcsIVUr87b4LOjYaQipJhTHOr8bkVA==",
        "X-Received": "by 10.55.12.133 with SMTP id 127mr7956657qkm.251.1506094863233; \n\tFri, 22 Sep 2017 08:41:03 -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\tPaolo Bonzini <pbonzini@redhat.com>,\n\tPeter Crosthwaite <crosthwaite.peter@gmail.com>,\n\tEduardo Habkost <ehabkost@redhat.com>",
        "Date": "Fri, 22 Sep 2017 12:39:49 -0300",
        "Message-Id": "<20170922154014.29350-10-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 09/34] misc: avoid \"include/\" in include path",
        "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": "while here, remove unused #include from aspeed_smc.h\n\nSigned-off-by: Philippe Mathieu-Daudé <f4bug@amsat.org>\n---\n hw/input/adb.c      | 2 +-\n hw/ssi/aspeed_smc.c | 3 +--\n numa.c              | 1 -\n 3 files changed, 2 insertions(+), 4 deletions(-)",
    "diff": "diff --git a/hw/input/adb.c b/hw/input/adb.c\nindex fcca3a8eb9..924a3f9fd5 100644\n--- a/hw/input/adb.c\n+++ b/hw/input/adb.c\n@@ -24,8 +24,8 @@\n #include \"qemu/osdep.h\"\n #include \"hw/hw.h\"\n #include \"hw/input/adb.h\"\n+#include \"hw/input/adb-keys.h\"\n #include \"ui/console.h\"\n-#include \"include/hw/input/adb-keys.h\"\n #include \"ui/input.h\"\n #include \"sysemu/sysemu.h\"\n \ndiff --git a/hw/ssi/aspeed_smc.c b/hw/ssi/aspeed_smc.c\nindex cb515730c5..5059396bc6 100644\n--- a/hw/ssi/aspeed_smc.c\n+++ b/hw/ssi/aspeed_smc.c\n@@ -26,8 +26,7 @@\n #include \"hw/sysbus.h\"\n #include \"sysemu/sysemu.h\"\n #include \"qemu/log.h\"\n-#include \"include/qemu/error-report.h\"\n-#include \"exec/address-spaces.h\"\n+#include \"qemu/error-report.h\"\n \n #include \"hw/ssi/aspeed_smc.h\"\n \ndiff --git a/numa.c b/numa.c\nindex 100a67febf..ebc553b5d9 100644\n--- a/numa.c\n+++ b/numa.c\n@@ -29,7 +29,6 @@\n #include \"qemu/bitmap.h\"\n #include \"qom/cpu.h\"\n #include \"qemu/error-report.h\"\n-#include \"include/exec/cpu-common.h\" /* for RAM_ADDR_FMT */\n #include \"qapi-visit.h\"\n #include \"qapi/opts-visitor.h\"\n #include \"hw/boards.h\"\n",
    "prefixes": [
        "09/34"
    ]
}