Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/patches/1671162/?format=api
{ "id": 1671162, "url": "http://patchwork.ozlabs.org/api/patches/1671162/?format=api", "web_url": "http://patchwork.ozlabs.org/project/linux-um/patch/20220827162631.20822-1-dengshaomin@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": "<20220827162631.20822-1-dengshaomin@cdjrlc.com>", "list_archive_url": null, "date": "2022-08-27T16:26:31", "name": "uml: Remove the initialization of statics to 0", "commit_ref": null, "pull_url": null, "state": "accepted", "archived": false, "hash": "78d4b56ace7d78f9bfdc3a62fb131f165cd5273f", "submitter": { "id": 84473, "url": "http://patchwork.ozlabs.org/api/people/84473/?format=api", "name": "Shaomin Deng", "email": "dengshaomin@cdjrlc.com" }, "delegate": null, "mbox": "http://patchwork.ozlabs.org/project/linux-um/patch/20220827162631.20822-1-dengshaomin@cdjrlc.com/mbox/", "series": [ { "id": 315659, "url": "http://patchwork.ozlabs.org/api/series/315659/?format=api", "web_url": "http://patchwork.ozlabs.org/project/linux-um/list/?series=315659", "date": "2022-08-27T16:26:31", "name": "uml: Remove the initialization of statics to 0", "version": 1, "mbox": "http://patchwork.ozlabs.org/series/315659/mbox/" } ], "comments": "http://patchwork.ozlabs.org/api/patches/1671162/comments/", "check": "pending", "checks": "http://patchwork.ozlabs.org/api/patches/1671162/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@legolas.ozlabs.org", "Authentication-Results": [ "legolas.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>)", "legolas.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=Uf5jZlPo;\n\tdkim-atps=neutral" ], "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 ECDSA (P-384) server-digest SHA384)\n\t(No client certificate requested)\n\tby legolas.ozlabs.org (Postfix) with ESMTPS id 4MFMbX2Sj4z1yh1\n\tfor <incoming@patchwork.ozlabs.org>; Sun, 28 Aug 2022 02:29:09 +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 1oRyg0-00DMa7-1Z; Sat, 27 Aug 2022 16:28:52 +0000", "from bg4.exmail.qq.com ([43.155.65.254] helo=bg5.exmail.qq.com)\n\tby bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux))\n\tid 1oRyfw-00DMVk-67\n\tfor linux-um@lists.infradead.org; Sat, 27 Aug 2022 16:28:50 +0000", "from localhost.localdomain ( [182.148.13.26])\n\tby bizesmtp.qq.com (ESMTP) with\n\tid ; Sun, 28 Aug 2022 00:26:34 +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=eV7wEDrt1lemz0zjMugGltXByTIcFrfVWEojdRwg3k4=; b=Uf5jZlPo8BKI44\n\tX6ZP4C29OZN2tXYnHanN+hfWwcIe0nHfJwh8zFKnVADTm+XHxAL+tP232azCteoPWAUqECCDdJEfd\n\t6XUJAwh9qaiImQo4NREcD4e8RgwRwg30SqIsOAy+F+tSuDEIhdPXsi6zgDBZQnsdBhso6dxeg5YWB\n\tPYY1sp9P+x7d73CXevmw2gsim2OUFql1nSw+xAq2T6moqMm/yH7dkMaaaVgWOF4Qucj8oHchNFSkd\n\tAx0jRbUVVniGKBafp0SeFDp/g/3SeNhRMQ4TqgjOGoDjY2M2oSaobE0eGOpLze5WSGeRyKTAR+kAx\n\tSahEkvdcmToUt8DUiJNg==;", "X-QQ-mid": "bizesmtp70t1661617599tqjsq8m3", "X-QQ-SSF": "01000000002000B0C000B00A0000000", "X-QQ-FEAT": "RFp2QSjOiS4wwZ8CfauQ3zLsqkIoXk2px5j5ZyctVf+9OgRu41MEKSYPhXZUu\n\tqPQMGZBLYrBcZUaYHU+pppUGBvv+0NW+5Yy77DfjW6LgP70XfGYNoWtCU4mu8rsUmi3CuP1\n\tFz854oKNWdMQRGH8jStNU8nmCZCbLPvKUJpemusjghhi2G/uH7o7FR0+rxz4v/Je5vBNsKf\n\tflZsNLQZwrkl0edS8a+5JvZGf1Fl06ALj9QGcThPkyDQh0tdt4IoVHadKPH42l5OPAtvwK5\n\tZ1QxphsaRTWEnF8Tlp3ixofUHfiyzo6YUFoYMwxk0xQqvHiX9QkjapBApzWejsU/51TxxY/\n\tKHNq4YTV2HJQ6qsoedfYzNHNdhI/UMIR+xKtF4F1yUIWeah414=", "X-QQ-GoodBg": "0", "From": "Shaomin Deng <dengshaomin@cdjrlc.com>", "To": "richard@nod.at,\n\tanton.ivanov@cambridgegreys.com,\n\tjohannes@sipsolutions.net,\n\tlinux-um@lists.infradead.org", "Cc": "Shaomin Deng <dengshaomin@cdjrlc.com>", "Subject": "[PATCH] uml: Remove the initialization of statics to 0", "Date": "Sat, 27 Aug 2022 12:26:31 -0400", "Message-Id": "<20220827162631.20822-1-dengshaomin@cdjrlc.com>", "X-Mailer": "git-send-email 2.35.1", "MIME-Version": "1.0", "X-QQ-SENDSIZE": "520", "Feedback-ID": "bizesmtp:cdjrlc.com:qybglogicsvr:qybglogicsvr4", "X-CRM114-Version": "20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 ", "X-CRM114-CacheID": "sfid-20220827_092848_565618_0160487B ", "X-CRM114-Status": "UNSURE ( 7.16 )", "X-CRM114-Notice": "Please train this message.", "X-Spam-Score": "0.0 (/)", "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: It is always unnecessary to initialise statics to 0.\n Signed-off-by:\n Shaomin Deng <dengshaomin@cdjrlc.com> --- arch/um/kernel/umid.c | 2 +- 1\n file changed, 1 insertion(+),\n 1 deletion(-) diff --git a/arch/um/kernel/umid.c\n b/arch/um/kernel/umid.c index 8031a038eb58..72bc60ade347 100644 ---\n a/arch/um/kernel/umid.c\n +++ b/arch/um/kernel/umid.c @@ -9,7 +9,7 @@ #include <os.h>\n Content analysis details: (0.0 points, 5.0 required)\n pts rule name description\n ---- ----------------------\n --------------------------------------------------\n -0.0 SPF_PASS SPF: sender matches SPF record\n 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record", "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": "It is always unnecessary to initialise statics to 0.\n\nSigned-off-by: Shaomin Deng <dengshaomin@cdjrlc.com>\n---\n arch/um/kernel/umid.c | 2 +-\n 1 file changed, 1 insertion(+), 1 deletion(-)", "diff": "diff --git a/arch/um/kernel/umid.c b/arch/um/kernel/umid.c\nindex 8031a038eb58..72bc60ade347 100644\n--- a/arch/um/kernel/umid.c\n+++ b/arch/um/kernel/umid.c\n@@ -9,7 +9,7 @@\n #include <os.h>\n \n /* Changed by set_umid_arg */\n-static int umid_inited = 0;\n+static int umid_inited;\n \n static int __init set_umid_arg(char *name, int *add)\n {\n", "prefixes": [] }