get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 812571,
    "url": "http://patchwork.ozlabs.org/api/patches/812571/?format=api",
    "web_url": "http://patchwork.ozlabs.org/project/qemu-devel/patch/ecdb8767affbfab3ea963169607981dcf0571140.1505158760.git.alistair.francis@xilinx.com/",
    "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": "<ecdb8767affbfab3ea963169607981dcf0571140.1505158760.git.alistair.francis@xilinx.com>",
    "list_archive_url": null,
    "date": "2017-09-11T19:53:05",
    "name": "[v4,8/8] Convert remaining single line fprintf() to warn_report()",
    "commit_ref": null,
    "pull_url": null,
    "state": "new",
    "archived": false,
    "hash": "54bc981c705565c946c253e3d610e3c0acfef229",
    "submitter": {
        "id": 47878,
        "url": "http://patchwork.ozlabs.org/api/people/47878/?format=api",
        "name": "Alistair Francis",
        "email": "alistair.francis@xilinx.com"
    },
    "delegate": null,
    "mbox": "http://patchwork.ozlabs.org/project/qemu-devel/patch/ecdb8767affbfab3ea963169607981dcf0571140.1505158760.git.alistair.francis@xilinx.com/mbox/",
    "series": [
        {
            "id": 2556,
            "url": "http://patchwork.ozlabs.org/api/series/2556/?format=api",
            "web_url": "http://patchwork.ozlabs.org/project/qemu-devel/list/?series=2556",
            "date": "2017-09-11T19:52:38",
            "name": "More warning reporting fixed",
            "version": 4,
            "mbox": "http://patchwork.ozlabs.org/series/2556/mbox/"
        }
    ],
    "comments": "http://patchwork.ozlabs.org/api/patches/812571/comments/",
    "check": "pending",
    "checks": "http://patchwork.ozlabs.org/api/patches/812571/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\" (1024-bit key;\n\tunprotected) header.d=xilinx.onmicrosoft.com\n\theader.i=@xilinx.onmicrosoft.com header.b=\"2hfXBSC0\"; \n\tdkim-atps=neutral",
            "spf=pass (sender IP is 149.199.60.100)\n\tsmtp.mailfrom=xilinx.com; redhat.com; dkim=none (message not signed)\n\theader.d=none;redhat.com; dmarc=bestguesspass action=none\n\theader.from=xilinx.com;"
        ],
        "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 3xrdxy4t06z9s0Z\n\tfor <incoming@patchwork.ozlabs.org>;\n\tTue, 12 Sep 2017 05:57:42 +1000 (AEST)",
            "from localhost ([::1]:60218 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 1drUpw-0006Lb-Ew\n\tfor incoming@patchwork.ozlabs.org; Mon, 11 Sep 2017 15:57:40 -0400",
            "from eggs.gnu.org ([2001:4830:134:3::10]:40022)\n\tby lists.gnu.org with esmtp (Exim 4.71)\n\t(envelope-from <alistai@xilinx.com>) id 1drUpE-0006JU-4c\n\tfor qemu-devel@nongnu.org; Mon, 11 Sep 2017 15:56:57 -0400",
            "from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)\n\t(envelope-from <alistai@xilinx.com>) id 1drUpA-0002KR-7u\n\tfor qemu-devel@nongnu.org; Mon, 11 Sep 2017 15:56:56 -0400",
            "from mail-co1nam03on0045.outbound.protection.outlook.com\n\t([104.47.40.45]:30592\n\thelo=NAM03-CO1-obe.outbound.protection.outlook.com)\n\tby eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32)\n\t(Exim 4.71) (envelope-from <alistai@xilinx.com>) id 1drUp9-0002Je-ST\n\tfor qemu-devel@nongnu.org; Mon, 11 Sep 2017 15:56:52 -0400",
            "from SN4PR0201CA0048.namprd02.prod.outlook.com (10.162.76.34) by\n\tBLUPR0201MB1922.namprd02.prod.outlook.com (10.162.239.156) with\n\tMicrosoft SMTP Server (version=TLS1_2,\n\tcipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P256) id 15.20.35.12;\n\tMon, 11 Sep 2017 19:56:48 +0000",
            "from BL2NAM02FT046.eop-nam02.prod.protection.outlook.com\n\t(2a01:111:f400:7e46::208) by SN4PR0201CA0048.outlook.office365.com\n\t(2603:10b6:803:2e::34) with Microsoft SMTP Server (version=TLS1_2,\n\tcipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P256) id 15.20.56.8 via\n\tFrontend Transport; Mon, 11 Sep 2017 19:56:48 +0000",
            "from xsj-pvapsmtpgw02 (149.199.60.100) by\n\tBL2NAM02FT046.mail.protection.outlook.com (10.152.76.118) with\n\tMicrosoft SMTP Server (version=TLS1_0,\n\tcipher=TLS_RSA_WITH_AES_256_CBC_SHA) id 15.20.13.11\n\tvia Frontend Transport; Mon, 11 Sep 2017 19:56:48 +0000",
            "from unknown-38-66.xilinx.com ([149.199.38.66]:45362\n\thelo=xsj-pvapsmtp01) by xsj-pvapsmtpgw02 with esmtp (Exim 4.63)\n\t(envelope-from <alistair.francis@xilinx.com>)\n\tid 1drUp5-0001Q5-HW; Mon, 11 Sep 2017 12:56:47 -0700",
            "from [127.0.0.1] (helo=localhost)\n\tby xsj-pvapsmtp01 with smtp (Exim 4.63)\n\t(envelope-from <alistair.francis@xilinx.com>)\n\tid 1drUp5-00005y-EM; Mon, 11 Sep 2017 12:56:47 -0700",
            "from xsj-pvapsmtp01 (smtp3.xilinx.com [149.199.38.66])\n\tby xsj-smtp-dlp2.xlnx.xilinx.com (8.13.8/8.13.1) with ESMTP id\n\tv8BJueNd017543; Mon, 11 Sep 2017 12:56:40 -0700",
            "from [172.19.2.220] (helo=localhost.localdomain)\n\tby xsj-pvapsmtp01 with esmtp (Exim 4.63)\n\t(envelope-from <alistair.francis@xilinx.com>)\n\tid 1drUoy-00005C-Da; Mon, 11 Sep 2017 12:56:40 -0700"
        ],
        "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed;\n\td=xilinx.onmicrosoft.com; s=selector1-xilinx-com;\n\th=From:Date:Subject:Message-ID:Content-Type:MIME-Version;\n\tbh=QUOx+lPm6gWRPErNXoEL9Li8pfRmyOVoTF5jWaLXaFo=;\n\tb=2hfXBSC0uWgLHyCeFwvfWZivPt7q9SkfDHXw7LyS5miV0NysqRlp8IwkEaTvdG6T+qQwnyvoeW9VpLyJW7lzBlzZtWTqaunCuXghLu/1C2+s5uHbUR2K/u7KV/nkC8Mx1+BUlRuaCW03MjqiboNbsj2OdjzycearOBaW0e/0Yew=",
        "Received-SPF": "Pass (protection.outlook.com: domain of xilinx.com designates\n\t149.199.60.100 as permitted sender)\n\treceiver=protection.outlook.com; \n\tclient-ip=149.199.60.100; helo=xsj-pvapsmtpgw02;",
        "From": "Alistair Francis <alistair.francis@xilinx.com>",
        "To": "<qemu-devel@nongnu.org>",
        "Date": "Mon, 11 Sep 2017 12:53:05 -0700",
        "Message-ID": "<ecdb8767affbfab3ea963169607981dcf0571140.1505158760.git.alistair.francis@xilinx.com>",
        "X-Mailer": "git-send-email 2.11.0",
        "In-Reply-To": "<cover.1505158760.git.alistair.francis@xilinx.com>",
        "References": "<cover.1505158760.git.alistair.francis@xilinx.com>",
        "MIME-Version": "1.0",
        "Content-Type": "text/plain; charset=\"UTF-8\"",
        "Content-Transfer-Encoding": "quoted-printable",
        "X-RCIS-Action": "ALLOW",
        "X-TM-AS-Product-Ver": "IMSS-7.1.0.1224-8.1.0.1062-23322.005",
        "X-TM-AS-User-Approved-Sender": "Yes;Yes",
        "X-EOPAttributedMessage": "0",
        "X-MS-Office365-Filtering-HT": "Tenant",
        "X-Forefront-Antispam-Report": "CIP:149.199.60.100; IPV:NLI; CTRY:US; EFV:NLI; \n\tSFV:NSPM;\n\tSFS:(10009020)(6009001)(39860400002)(2980300002)(438002)(199003)(189002)(5820100001)(305945005)(47776003)(106466001)(2351001)(36386004)(36756003)(478600001)(189998001)(6916009)(2906002)(2870700001)(2950100002)(50226002)(50466002)(5660300001)(77096006)(110136004)(39060400002)(50986999)(76176999)(9786002)(6666003)(4326008)(33646002)(356003)(63266004)(8676002)(81156014)(54906002)(81166006)(8936002)(118296001)(23676002)(107986001)(5001870100001);\n\tDIR:OUT; SFP:1101; SCL:1; SRVR:BLUPR0201MB1922;\n\tH:xsj-pvapsmtpgw02; FPR:; SPF:Pass;\n\tPTR:unknown-60-100.xilinx.com,xapps1.xilinx.com; A:1; MX:1;\n\tLANG:en; ",
        "X-Microsoft-Exchange-Diagnostics": [
            "1; BL2NAM02FT046;\n\t1:ZrcXNR2qRK3tvOShiZhtrgsBiEvNYUvGv9M0K5WrmyjU8b0LwASTCMxwjCO+VOpni0OuVU8VnKSaAHbfJ0VEOBZqFGqr/SpNcF7BuiSjz5wpuMGYELWo4PNr9QijvlpU",
            "1; BLUPR0201MB1922;\n\t3:jL51oCHIgAslqbw44cAjXeDJ5SYOl/5Fr+u/RTjrtH49m4X07NNex2uuZ8Q+iv7XYMryzyboqwBe4WfL2WHnbdjMuLizgqvczP3r7Ci1ta9ho61kvyMLeneSaob/12ZL+7DeiisVuTxbg1ARGKMWnDj9C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45oVpW+OZLUxL5c0Q7+jb9z1MCx3zywQkJqIQzIJkkkiPLu2SZfmKHi+TiUIdW9gouw==;\n\t24:iTKoWvMmwA4xLxrE87zIYP4lakjM4du6TEoJogc1d3iIFuVoUzrifuUJ5miwsD7Ids3M5t6A+fjBEvexoYA6dh30cBwR/CXmr5o8CAwn2es=;\n\t7:oR/e4e6DBcFp2fq8jEejZiskK3ucJweaL9k1OFBo+bvAGp1456K7TKcUFo7CZr7Sxj2roKahQXV9BoZ1u3rz2+ff4oHDPcBVUdUZ1OyhFAAuToCPi/QIi84UBEl8LxEbpEYQuhsmxifnYDeY1CuHpCh6ClF4/R4RIQT8Ycf+g67agsF3U4+mKBxJ9KMYUw4G+S1gekQrjmvG0BSpOnaq3YCDnQG9QJ2JKi3FTYoVk/s="
        ],
        "X-MS-PublicTrafficType": "Email",
        "X-MS-Office365-Filtering-Correlation-Id": "885e14ad-a219-45ff-ce66-08d4f94f3ccf",
        "X-Microsoft-Antispam": "UriScan:; BCL:0; PCL:0;\n\tRULEID:(300000500095)(300135000095)(300000501095)(300135300095)(22001)(300000502095)(300135100095)(2017030254152)(8251501002)(300000503095)(300135400095)(2017052603199)(201703131423075)(201703031133081)(201702281549075)(300000504095)(300135200095)(300000505095)(300135600095)(300000506095)(300135500095);\n\tSRVR:BLUPR0201MB1922; ",
        "X-MS-TrafficTypeDiagnostic": "BLUPR0201MB1922:",
        "X-Exchange-Antispam-Report-Test": "UriScan:(192813158149592);",
        "X-Microsoft-Antispam-PRVS": "<BLUPR0201MB1922BF11C8A50EA530C86026DC680@BLUPR0201MB1922.namprd02.prod.outlook.com>",
        "X-Exchange-Antispam-Report-CFA-Test": "BCL:0; PCL:0;\n\tRULEID:(100000700101)(100105000095)(100000701101)(100105300095)(100000702101)(100105100095)(6040450)(2401047)(5005006)(8121501046)(93006095)(93004095)(10201501046)(3002001)(100000703101)(100105400095)(6055026)(6041248)(201703131423075)(201702281528075)(201703061421075)(201703061406153)(20161123560025)(20161123555025)(20161123564025)(20161123562025)(20161123558100)(6072148)(201708071742011)(100000704101)(100105200095)(100000705101)(100105500095);\n\tSRVR:BLUPR0201MB1922; BCL:0; PCL:0;\n\tRULEID:(100000800101)(100110000095)(100000801101)(100110300095)(100000802101)(100110100095)(100000803101)(100110400095)(100000804101)(100110200095)(100000805101)(100110500095);\n\tSRVR:BLUPR0201MB1922; ",
        "X-Forefront-PRVS": "04270EF89C",
        "SpamDiagnosticOutput": "1:99",
        "SpamDiagnosticMetadata": "NSPM",
        "X-OriginatorOrg": "xilinx.com",
        "X-MS-Exchange-CrossTenant-OriginalArrivalTime": "11 Sep 2017 19:56:48.2191\n\t(UTC)",
        "X-MS-Exchange-CrossTenant-Id": "657af505-d5df-48d0-8300-c31994686c5c",
        "X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp": "TenantId=657af505-d5df-48d0-8300-c31994686c5c; \n\tIp=[149.199.60.100]; Helo=[xsj-pvapsmtpgw02]",
        "X-MS-Exchange-CrossTenant-FromEntityHeader": "HybridOnPrem",
        "X-MS-Exchange-Transport-CrossTenantHeadersStamped": "BLUPR0201MB1922",
        "X-detected-operating-system": "by eggs.gnu.org: Windows 7 or 8 [fuzzy]",
        "X-Received-From": "104.47.40.45",
        "Subject": "[Qemu-devel] [PATCH v4 8/8] Convert remaining single line fprintf()\n\tto warn_report()",
        "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": "alistair23@gmail.com, pbonzini@redhat.com, armbru@redhat.com,\n\talistair.francis@xilinx.com",
        "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": "Convert any remaining uses of fprintf(stderr, \"warning:\"...\nto use warn_report() instead. This helps standardise on a single\nmethod of printing warnings to the user.\n\nAll of the warnings were changed using this command:\n  find ./* -type f -exec sed -i 's|fprintf(.*\".*warning[,:] |warn_report(\"|Ig' {} +\n\nThe #include line and the change to the test Makefile were manually\nupdated to allow the code to compile.\n\nSigned-off-by: Alistair Francis <alistair.francis@xilinx.com>\nReviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>\nReviewed-by: Markus Armbruster <armbru@redhat.com>\n---\n\nThis pattern matches any case of fprintf(stderr, \"warning:\"... and is\nthe most open pattern match in the series.\n\n\n tests/Makefile.include | 2 +-\n util/cutils.c          | 3 ++-\n 2 files changed, 3 insertions(+), 2 deletions(-)",
    "diff": "diff --git a/tests/Makefile.include b/tests/Makefile.include\nindex 3d6726e95c..2647aaaa65 100644\n--- a/tests/Makefile.include\n+++ b/tests/Makefile.include\n@@ -593,7 +593,7 @@ tests/test-iov$(EXESUF): tests/test-iov.o $(test-util-obj-y)\n tests/test-hbitmap$(EXESUF): tests/test-hbitmap.o $(test-util-obj-y) $(test-crypto-obj-y)\n tests/test-x86-cpuid$(EXESUF): tests/test-x86-cpuid.o\n tests/test-xbzrle$(EXESUF): tests/test-xbzrle.o migration/xbzrle.o migration/page_cache.o $(test-util-obj-y)\n-tests/test-cutils$(EXESUF): tests/test-cutils.o util/cutils.o\n+tests/test-cutils$(EXESUF): tests/test-cutils.o util/cutils.o $(test-util-obj-y)\n tests/test-int128$(EXESUF): tests/test-int128.o\n tests/rcutorture$(EXESUF): tests/rcutorture.o $(test-util-obj-y)\n tests/test-rcu-list$(EXESUF): tests/test-rcu-list.o $(test-util-obj-y)\ndiff --git a/util/cutils.c b/util/cutils.c\nindex 1534682083..b33ede83d1 100644\n--- a/util/cutils.c\n+++ b/util/cutils.c\n@@ -30,6 +30,7 @@\n #include \"qemu/iov.h\"\n #include \"net/net.h\"\n #include \"qemu/cutils.h\"\n+#include \"qemu/error-report.h\"\n \n void strpadcpy(char *buf, int buf_size, const char *str, char pad)\n {\n@@ -601,7 +602,7 @@ int parse_debug_env(const char *name, int max, int initial)\n         return initial;\n     }\n     if (debug < 0 || debug > max || errno != 0) {\n-        fprintf(stderr, \"warning: %s not in [0, %d]\", name, max);\n+        warn_report(\"%s not in [0, %d]\", name, max);\n         return initial;\n     }\n     return debug;\n",
    "prefixes": [
        "v4",
        "8/8"
    ]
}