From patchwork Wed Jul 20 19:24:51 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Xin Gao X-Patchwork-Id: 1658761 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: bilbo.ozlabs.org; dkim=pass (2048-bit key; secure) header.d=lists.infradead.org header.i=@lists.infradead.org header.a=rsa-sha256 header.s=bombadil.20210309 header.b=OK/s5rQm; dkim-atps=neutral Authentication-Results: ozlabs.org; spf=none (no SPF record) smtp.mailfrom=lists.infradead.org (client-ip=2607:7c80:54:3::133; helo=bombadil.infradead.org; envelope-from=linux-um-bounces+incoming=patchwork.ozlabs.org@lists.infradead.org; receiver=) Received: from bombadil.infradead.org (bombadil.infradead.org [IPv6:2607:7c80:54:3::133]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by bilbo.ozlabs.org (Postfix) with ESMTPS id 4Lp5KS2jnRz9s1l for ; Thu, 21 Jul 2022 05:26:20 +1000 (AEST) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:Message-Id:Date:Subject:Cc :To:From:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References: List-Owner; bh=G5FhNXOAvyyNNQBllukNGChdS3dJjhapS2J6OR6xqAo=; b=OK/s5rQmFBuKmA ws5a2PFxLq3gQSC6glb7ZhAHrYR06Ont5vGTDAJLPvaj4RI/Yu5uZefIlhj5T/mG3sPBmroeb0K/l ZTleGd+Ebq0uSTHtXdlWZFRPt34QNJPEhrZPTrSkRoafoXnW8TgoYhSU5BvS0VU5pVnt0J5cd3YOI vZ4bu1ENK4eoDvxLow7GN6KouvhRNUAOT0glfFbJaW5pZacJEdsizkLscIf0b2tEQCbAR5MPkAFkh WzwV/seQ0eXEefgc5shKqxk8qCL028C2fAyImWzwGauFSjOvRsGUXpxmqobf0JuUs2blFRB3071Pi qgGMmQsemHujcVENepIg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1oEFKi-009qVA-Bn; Wed, 20 Jul 2022 19:26:08 +0000 Received: from [43.155.65.254] (helo=smtpbg.qq.com) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1oEFKb-009qAo-Gt for linux-um@lists.infradead.org; Wed, 20 Jul 2022 19:26:06 +0000 X-QQ-mid: bizesmtp67t1658345111t20e7wo6 Received: from harry-jrlc.. ( [125.70.163.183]) by bizesmtp.qq.com (ESMTP) with id ; Thu, 21 Jul 2022 03:24:53 +0800 (CST) X-QQ-SSF: 0100000000200030C000B00A0000020 X-QQ-FEAT: hoArX50alxFrHxhGqacyHg4kyF85k+e/7SwaSyLAySeab5/C92Ymm9OyYl3oX AOh4mgdTgMW0MCuCN0YSOk4YsQQEWjQNnMVFFfSRkTIFMnkhynZDz9bXyicp5ULbOt+1u3V wNBD5kq6faAfkOv5fnLDPVL2Y5QqG56s2VUrT8AWzO9DogYroTzNmtCqp/iuR3aqJnvwck9 tIsrylto2Px3eJzmiSDkvCd8QY5fcHBmbpTqGSJY2SytB4bl7gB7uKcCPZTdKIbQb8+oawh 0RDbJ7SnBClTWOhquiIx9mVQqcG/TBlrAqjlcISIF5LFerIP+FUoFJXUoCgA8Yv7cdgGMfB AI0RR5iFAC9m7te1Ei87eEtOlp4w1ZoMwoxOr6vDXxY2nuwOU0= X-QQ-GoodBg: 0 From: Xin Gao To: richard@nod.at, anton.ivanov@cambridgegreys.com, johannes@sipsolutions.net Cc: linux-um@lists.infradead.org, linux-kernel@vger.kernel.org, Xin Gao Subject: [PATCH] um:do not initialise statics to 0. Date: Thu, 21 Jul 2022 03:24:51 +0800 Message-Id: <20220720192451.7384-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_122601_880764_C4B0AD55 X-CRM114-Status: UNSURE ( 7.79 ) X-CRM114-Notice: Please train this message. X-Spam-Score: 1.3 (+) X-Spam-Report: Spam detection software, running on the system "bombadil.infradead.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: do not initialise statics to 0. Signed-off-by: Xin Gao --- arch/um/drivers/ssl.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/um/drivers/ssl.c b/arch/um/drivers/ssl.c index 41eae2e8fb65..891e9c83d407 100644 --- a/arch/um/drivers/ssl.c +++ b/arch/um/drivers/ssl.c @@ -108,7 +108,7 @@ static const struct tty_o [...] Content analysis details: (1.3 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 SPF_PASS SPF: sender matches SPF record 0.0 T_SPF_HELO_TEMPERROR SPF: test of HELO record failed (temperror) 1.3 RDNS_NONE Delivered to internal network by a host with no rDNS X-BeenThere: linux-um@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-um" Errors-To: linux-um-bounces+incoming=patchwork.ozlabs.org@lists.infradead.org do not initialise statics to 0. Signed-off-by: Xin Gao --- arch/um/drivers/ssl.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/um/drivers/ssl.c b/arch/um/drivers/ssl.c index 41eae2e8fb65..891e9c83d407 100644 --- a/arch/um/drivers/ssl.c +++ b/arch/um/drivers/ssl.c @@ -108,7 +108,7 @@ static const struct tty_operations ssl_ops = { /* Changed by ssl_init and referenced by ssl_exit, which are both serialized * by being an initcall and exitcall, respectively. */ -static int ssl_init_done = 0; +static int ssl_init_done; static void ssl_console_write(struct console *c, const char *string, unsigned len)