get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 1658764,
    "url": "http://patchwork.ozlabs.org/api/patches/1658764/?format=api",
    "web_url": "http://patchwork.ozlabs.org/project/linux-um/patch/20220720192916.7564-1-gaoxin@cdjrlc.com/",
    "project": {
        "id": 60,
        "url": "http://patchwork.ozlabs.org/api/projects/60/?format=api",
        "name": "User-mode Linux Development",
        "link_name": "linux-um",
        "list_id": "linux-um.lists.infradead.org",
        "list_email": "linux-um@lists.infradead.org",
        "web_url": "",
        "scm_url": "",
        "webscm_url": "",
        "list_archive_url": "",
        "list_archive_url_format": "",
        "commit_url_format": ""
    },
    "msgid": "<20220720192916.7564-1-gaoxin@cdjrlc.com>",
    "list_archive_url": null,
    "date": "2022-07-20T19:29:16",
    "name": "ubd:do not initialise statics to 0.",
    "commit_ref": null,
    "pull_url": null,
    "state": "accepted",
    "archived": false,
    "hash": "a3d9c7475bf3e1becac4ceb5d838fb04d552ff38",
    "submitter": {
        "id": 84484,
        "url": "http://patchwork.ozlabs.org/api/people/84484/?format=api",
        "name": "Xin Gao",
        "email": "gaoxin@cdjrlc.com"
    },
    "delegate": null,
    "mbox": "http://patchwork.ozlabs.org/project/linux-um/patch/20220720192916.7564-1-gaoxin@cdjrlc.com/mbox/",
    "series": [
        {
            "id": 310495,
            "url": "http://patchwork.ozlabs.org/api/series/310495/?format=api",
            "web_url": "http://patchwork.ozlabs.org/project/linux-um/list/?series=310495",
            "date": "2022-07-20T19:29:16",
            "name": "ubd:do not initialise statics to 0.",
            "version": 1,
            "mbox": "http://patchwork.ozlabs.org/series/310495/mbox/"
        }
    ],
    "comments": "http://patchwork.ozlabs.org/api/patches/1658764/comments/",
    "check": "pending",
    "checks": "http://patchwork.ozlabs.org/api/patches/1658764/checks/",
    "tags": {},
    "related": [],
    "headers": {
        "Return-Path": "\n <linux-um-bounces+incoming=patchwork.ozlabs.org@lists.infradead.org>",
        "X-Original-To": "incoming@patchwork.ozlabs.org",
        "Delivered-To": "patchwork-incoming@bilbo.ozlabs.org",
        "Authentication-Results": [
            "bilbo.ozlabs.org;\n\tdkim=pass (2048-bit key;\n secure) header.d=lists.infradead.org header.i=@lists.infradead.org\n header.a=rsa-sha256 header.s=bombadil.20210309 header.b=YfQ9SecH;\n\tdkim-atps=neutral",
            "ozlabs.org;\n spf=none (no SPF record) smtp.mailfrom=lists.infradead.org\n (client-ip=2607:7c80:54:3::133; helo=bombadil.infradead.org;\n envelope-from=linux-um-bounces+incoming=patchwork.ozlabs.org@lists.infradead.org;\n receiver=<UNKNOWN>)"
        ],
        "Received": [
            "from bombadil.infradead.org (bombadil.infradead.org\n [IPv6:2607:7c80:54:3::133])\n\t(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)\n\t key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest\n SHA256)\n\t(No client certificate requested)\n\tby bilbo.ozlabs.org (Postfix) with ESMTPS id 4Lp5Sd74Ncz9s1l\n\tfor <incoming@patchwork.ozlabs.org>; Thu, 21 Jul 2022 05:32:33 +1000 (AEST)",
            "from localhost ([::1] helo=bombadil.infradead.org)\n\tby bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux))\n\tid 1oEFQk-009vmV-Uv; Wed, 20 Jul 2022 19:32:22 +0000",
            "from [43.155.65.254] (helo=smtpbg.qq.com)\n\tby bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux))\n\tid 1oEFQe-009vPO-RA\n\tfor linux-um@lists.infradead.org; Wed, 20 Jul 2022 19:32:21 +0000",
            "from harry-jrlc.. ( [125.70.163.183])\n\tby bizesmtp.qq.com (ESMTP) with\n\tid ; Thu, 21 Jul 2022 03:29:18 +0800 (CST)"
        ],
        "DKIM-Signature": "v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed;\n\td=lists.infradead.org; s=bombadil.20210309; h=Sender:\n\tContent-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post:\n\tList-Archive:List-Unsubscribe:List-Id:MIME-Version:Message-Id:Date:Subject:Cc\n\t:To:From:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From:\n\tResent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References:\n\tList-Owner; bh=S3mevVc+GLj1NmIMZH2agWJEIiRMCi28nSwQgJ5fkKw=; b=YfQ9SecHoHTClO\n\tra7FfFtKXvIZi/144Yfvr3W9cQMf+dZDeGI5qIHNTJWaFc4MgsotueozLA5Tb5UjBn0o8qE4u3dg3\n\tckrRtrwfkia+JytgrU5RVW2NXlzzGsFdkv5i6jqtA5mzYwCKvy3/N9XtRDFTgVnR7iQCzvixFRAbn\n\t52DPcbOOEDoUzYr+mF2Yo3OMwyStWzmK77akq3xlVqLQknTxlMeKAylgDzZU7K47+M8rQ1Gw0e6bG\n\t2MJ/nf++M5jQf73gU+rg2r8eMaC8J6Hxn2yPuqeTTilS4Qm2U5Tad8sYhF9nZYoe5NHu34wEbsLln\n\tPzbO4G2+qoFOFOyCQtRQ==;",
        "X-QQ-mid": "bizesmtp79t1658345371tlldvzkb",
        "X-QQ-SSF": "0100000000200030C000B00A0000000",
        "X-QQ-FEAT": "eSZ1CZgv+JBwvEJ1SHKfm2QxE6P9LIKgQPgHFaX8SnIXr7PdBiCjAqywFYKH9\n\t5WJF1aFA230+piHtPRcekobU+PYuyQ66GnB/iD/wJuY/kbGKAlUoGKCYSYu0QJwD1Q+KEv2\n\tuhHAc6X8g/fqgAxWBe8FH4chjmdi7MCVwDoUT3CVsbDJLDFS+Ul/7v9bMc32vaPv7IbcveF\n\tH9uejwoAf/IuA2vlqcv9RIGxS5DpRnmjlsSWSuQ+1uQf+49R26mLvTrXbMKhnbC+Flbwpgn\n\t51mgo0dTxndmGlYxSfj72UCy28mgljsla1jA2Gtzidl7am+KJNw+KDWh2qVW/np5srFUxSn\n\tfUdW26oPB5uYIQulB1PJ8Wu+tUHL5ty5v5OPnxtVTIyz+JkRVI=",
        "X-QQ-GoodBg": "0",
        "From": "Xin Gao <gaoxin@cdjrlc.com>",
        "To": "richard@nod.at,\n\tanton.ivanov@cambridgegreys.com,\n\tjohannes@sipsolutions.net",
        "Cc": "axboe@kernel.dk,\n\tmartin.petersen@oracle.com,\n\thoeppner@linux.ibm.com,\n\tkch@nvidia.com,\n\tfrederic.danis@collabora.com,\n\tmcgrof@kernel.org,\n\tlinux-um@lists.infradead.org,\n\tlinux-kernel@vger.kernel.org,\n\tXin Gao <gaoxin@cdjrlc.com>",
        "Subject": "[PATCH] ubd:do not initialise statics to 0.",
        "Date": "Thu, 21 Jul 2022 03:29:16 +0800",
        "Message-Id": "<20220720192916.7564-1-gaoxin@cdjrlc.com>",
        "X-Mailer": "git-send-email 2.30.2",
        "MIME-Version": "1.0",
        "X-QQ-SENDSIZE": "520",
        "Feedback-ID": "bizesmtp:cdjrlc.com:qybglogicsvr:qybglogicsvr6",
        "X-CRM114-Version": "20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 ",
        "X-CRM114-CacheID": "sfid-20220720_123217_198940_872B227B ",
        "X-CRM114-Status": "UNSURE (   7.95  )",
        "X-CRM114-Notice": "Please train this message.",
        "X-Spam-Score": "1.3 (+)",
        "X-Spam-Report": "Spam detection software,\n running on the system \"bombadil.infradead.org\",\n has NOT identified this incoming email as spam.  The original\n message has been attached to this so you can view it or label\n similar future email.  If you have any questions, see\n the administrator of that system for details.\n Content preview:  do not initialise statics to 0. Signed-off-by: Xin Gao\n <gaoxin@cdjrlc.com>\n    --- arch/um/drivers/ubd_kern.c | 2 +- 1 file changed, 1 insertion(+),\n 1 deletion(-)\n    diff --git a/arch/um/drivers/ubd_kern.c b/arch/um/drivers/ubd_kern.c index\n    c4344b67628d..ae2fb671ba72 100644 --- a/arch/um/drivers/ubd_kern.c +++\n b/arch/um/drivers/ubd_kern.c\n    @@ -1555,7 +1555,7 @@ sta [...]\n Content analysis details:   (1.3 points, 5.0 required)\n  pts rule name              description\n ---- ----------------------\n --------------------------------------------------\n -0.0 SPF_PASS               SPF: sender matches SPF record\n  0.0 T_SPF_HELO_TEMPERROR   SPF: test of HELO record failed (temperror)\n  1.3 RDNS_NONE              Delivered to internal network by a host with no\n rDNS",
        "X-BeenThere": "linux-um@lists.infradead.org",
        "X-Mailman-Version": "2.1.34",
        "Precedence": "list",
        "List-Id": "<linux-um.lists.infradead.org>",
        "List-Unsubscribe": "<http://lists.infradead.org/mailman/options/linux-um>,\n <mailto:linux-um-request@lists.infradead.org?subject=unsubscribe>",
        "List-Archive": "<http://lists.infradead.org/pipermail/linux-um/>",
        "List-Post": "<mailto:linux-um@lists.infradead.org>",
        "List-Help": "<mailto:linux-um-request@lists.infradead.org?subject=help>",
        "List-Subscribe": "<http://lists.infradead.org/mailman/listinfo/linux-um>,\n <mailto:linux-um-request@lists.infradead.org?subject=subscribe>",
        "Content-Type": "text/plain; charset=\"us-ascii\"",
        "Content-Transfer-Encoding": "7bit",
        "Sender": "\"linux-um\" <linux-um-bounces@lists.infradead.org>",
        "Errors-To": "linux-um-bounces+incoming=patchwork.ozlabs.org@lists.infradead.org"
    },
    "content": "do not initialise statics to 0.\n\nSigned-off-by: Xin Gao <gaoxin@cdjrlc.com>\n---\n arch/um/drivers/ubd_kern.c | 2 +-\n 1 file changed, 1 insertion(+), 1 deletion(-)",
    "diff": "diff --git a/arch/um/drivers/ubd_kern.c b/arch/um/drivers/ubd_kern.c\nindex c4344b67628d..ae2fb671ba72 100644\n--- a/arch/um/drivers/ubd_kern.c\n+++ b/arch/um/drivers/ubd_kern.c\n@@ -1555,7 +1555,7 @@ static void do_io(struct io_thread_req *req, struct io_desc *desc)\n int kernel_fd = -1;\n \n /* Only changed by the io thread. XXX: currently unused. */\n-static int io_count = 0;\n+static int io_count;\n \n int io_thread(void *arg)\n {\n",
    "prefixes": []
}