get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 1658765,
    "url": "http://patchwork.ozlabs.org/api/patches/1658765/?format=api",
    "web_url": "http://patchwork.ozlabs.org/project/linux-um/patch/20220720193323.7848-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": "<20220720193323.7848-1-gaoxin@cdjrlc.com>",
    "list_archive_url": null,
    "date": "2022-07-20T19:33:23",
    "name": "kernel:do not initialise statics to 0.",
    "commit_ref": null,
    "pull_url": null,
    "state": "accepted",
    "archived": false,
    "hash": "f83df5be1da2c63dfccffba30ae3b19e25fc4c16",
    "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/20220720193323.7848-1-gaoxin@cdjrlc.com/mbox/",
    "series": [
        {
            "id": 310496,
            "url": "http://patchwork.ozlabs.org/api/series/310496/?format=api",
            "web_url": "http://patchwork.ozlabs.org/project/linux-um/list/?series=310496",
            "date": "2022-07-20T19:33:23",
            "name": "kernel:do not initialise statics to 0.",
            "version": 1,
            "mbox": "http://patchwork.ozlabs.org/series/310496/mbox/"
        }
    ],
    "comments": "http://patchwork.ozlabs.org/api/patches/1658765/comments/",
    "check": "pending",
    "checks": "http://patchwork.ozlabs.org/api/patches/1658765/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=2xDMEQB8;\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 4Lp5Xp4hy4z9s1l\n\tfor <incoming@patchwork.ozlabs.org>; Thu, 21 Jul 2022 05:36:10 +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 1oEFUH-009yKK-6p; Wed, 20 Jul 2022 19:36:01 +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 1oEFUB-009yAO-0B\n\tfor linux-um@lists.infradead.org; Wed, 20 Jul 2022 19:36:00 +0000",
            "from harry-jrlc.. ( [125.70.163.183])\n\tby bizesmtp.qq.com (ESMTP) with\n\tid ; Thu, 21 Jul 2022 03:33:26 +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=5Ip2xFQ9hVb4MB1HcNjX8J2TQDwoXskesXh/nDjTPOM=; b=2xDMEQB8SUKhyv\n\tHvf/BCX6fCjC0p1evY7xkHAQSsx10/5MVsYHSoyvNqDLrCt8O7FjoE88iWRp9TRxmcSt5bt0CS32z\n\tzPArFmMZ4M1sop+IrOTo9SDVLWprtBG3uXKurB+6GK5yfWc+4u0Mxe49zCe/e+VeH6sLlx99LVgVD\n\tDIxe4punPhbgsQgst6+juYWEQx6OuiwtJgrV0iHjUKMD+dUwEC9Ntp6OJnOuSQL6VKlQVMEe9QNhd\n\tCu89qOlAjDxXeWDs3lETaEQpdhsIpCi/VTZQH+rOIsJ9OzpGeXvTo+JX9JyW88yysRNaHVmvfhMyK\n\t/HKVfwN6LEAdv6folnEw==;",
        "X-QQ-mid": "bizesmtp91t1658345619tlxc36xd",
        "X-QQ-SSF": "0100000000200030C000B00A0000020",
        "X-QQ-FEAT": "+bXiSo2NuBdrFYQDLwG0mkbTmkYoUp0G4ZKwN7IgFJwdFj8YlnEZ78Ce/Npke\n\tnw39G9HLqWuqKsFNKux4+eVnuakvTR7zG8DVV5Q6G4Yp3SzyxrROZp+bXDnakoHb0kgkqP/\n\tew8aEhDI7hdvPYIToPyaaC0tV5NGiT5C8RiaqvMCgpmrBCqh5Fqt+E56fTSmwUt6v1I8lJh\n\teHtvWBG0U8WmD0Khe/o8GT5gaPodJnbxfBEO0uMg+ZTIv0H9I7j37TZz7bmVyGo+V1jEv/O\n\tGHjAmYdDGpuKEcCJITsOSl3w9V9FQCG31/pgOkIscXTYTRG51jK4P9hUtyR3fxCyZwzthyp\n\t4mUH9/cMVdZ/kUHd5xD+K7sMfCEFtg4/rWTiEUJomYP8B5LB/nOmtKNbaG8qw==",
        "X-QQ-GoodBg": "0",
        "From": "Xin Gao <gaoxin@cdjrlc.com>",
        "To": "richard@nod.at,\n\tanton.ivanov@cambridgegreys.com,\n\tjohannes@sipsolutions.net",
        "Cc": "linux-um@lists.infradead.org,\n\tlinux-kernel@vger.kernel.org,\n\tXin Gao <gaoxin@cdjrlc.com>",
        "Subject": "[PATCH] kernel:do not initialise statics to 0.",
        "Date": "Thu, 21 Jul 2022 03:33:23 +0800",
        "Message-Id": "<20220720193323.7848-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_123555_362632_C9B281B0 ",
        "X-CRM114-Status": "UNSURE (   7.72  )",
        "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/mconsole_kern.c | 2 +- 1 file changed, 1 insertion(+),\n    1 deletion(-) diff --git a/arch/um/drivers/mconsole_kern.c\n b/arch/um/drivers/mconsole_kern.c\n    index 8ca67a692683..de40e7822fa6 100644 ---\n a/arch/um/drivers/mconsole_kern.c\n    +++ b/arch/um/drivers/mconsole_kern.c @@ -2 [...]\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/mconsole_kern.c | 2 +-\n 1 file changed, 1 insertion(+), 1 deletion(-)",
    "diff": "diff --git a/arch/um/drivers/mconsole_kern.c b/arch/um/drivers/mconsole_kern.c\nindex 8ca67a692683..de40e7822fa6 100644\n--- a/arch/um/drivers/mconsole_kern.c\n+++ b/arch/um/drivers/mconsole_kern.c\n@@ -283,7 +283,7 @@ struct unplugged_pages {\n };\n \n static DEFINE_MUTEX(plug_mem_mutex);\n-static unsigned long long unplugged_pages_count = 0;\n+static unsigned long long unplugged_pages_count;\n static LIST_HEAD(unplugged_pages);\n static int unplug_index = UNPLUGGED_PER_PAGE;\n \n",
    "prefixes": []
}