Received: by 2002:ad5:4acb:0:0:0:0:0 with SMTP id n11csp5797946imw; Wed, 20 Jul 2022 12:46:56 -0700 (PDT) X-Google-Smtp-Source: AGRyM1sXBHZASpZvpabeo+MOgTxdZk7nqf+Tgu0Pz/dOmjjzL8FsdxtW6+U3aqJ+I7IdXHE5tck+ X-Received: by 2002:a17:903:228c:b0:16c:2f61:9158 with SMTP id b12-20020a170903228c00b0016c2f619158mr39991382plh.140.1658346416026; Wed, 20 Jul 2022 12:46:56 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1658346416; cv=none; d=google.com; s=arc-20160816; b=lk+0UHW16G5aI0VBqCQdPWagf7H8kt20RAx6Wg5hlOTL5T1SseytHY+HWsM9etAObc CEeIHoGdDCN2nnGdIsN4Xp8v7AXePFia4bBelW9uDt2FQpEqZ5txSDQPB1aGYVw9SsoP +is0inzJDIxNwACIAgxi5KZrS0C2wTSkdhgVQh5QXxyLqG80JT/ScbH65OLYkVR7wods Z3mpAfEUsp/1CvlyoT03l0hoyEz+7xcqKNteBr/bwVtRPU8AlkMgRbcN14uprKJhSFVT n2YUVBdAS9MhIyOWrd2ZxUIST3FvcPQKo/dOYWN+dgkhRXIlsTegkQiU5W/KignSqrln 7KLQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:feedback-id:content-transfer-encoding :mime-version:message-id:date:subject:cc:to:from; bh=cJi8mxZFes/U3OGkUl4xYgLJz8YXeDIYnIgWgU41ry4=; b=Zs1Ot1H4I4+uaek6mcePpeFbeuRIhdwRXKTTYBXyUw/La/AhIshKe0G4ZrqdR35Mdg H4u7ol1r4Jq9QYr6FHSQCOa4wY8Bhdn8EBuU3+kmX5UL66YVK6JKMP38B3FNjVGaGi/H lU+ZkNqQnOMw8STvVOT1LD+DpgS/L6ys8F0Ab93ydg/JOuNAn8wV7coZP261CnuqvqrQ yqg8HBRDxzmUOP1sHjEilzp+9yV+auppIXTk3R68JPX3/n+8r8BWzf6tAg1NaGtEzRTW ZaU+Rp6G6uAhVaHQ/CnhGWGsn4vCY1xLzTQJYRQvkB6WUQ0HqcFAwzdMBmfFYQox28vp KHDg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id lb3-20020a17090b4a4300b001efba5ba265si3828149pjb.103.2022.07.20.12.46.39; Wed, 20 Jul 2022 12:46:56 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229752AbiGTTZr (ORCPT + 99 others); Wed, 20 Jul 2022 15:25:47 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:32796 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229437AbiGTTZq (ORCPT ); Wed, 20 Jul 2022 15:25:46 -0400 Received: from smtpbg.qq.com (biz-43-154-54-12.mail.qq.com [43.154.54.12]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 76357481F8 for ; Wed, 20 Jul 2022 12:25:41 -0700 (PDT) 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 Content-Transfer-Encoding: 8bit X-QQ-SENDSIZE: 520 Feedback-ID: bizesmtp:cdjrlc.com:qybglogicsvr:qybglogicsvr6 X-Spam-Status: No, score=-0.9 required=5.0 tests=BAYES_00,RDNS_DYNAMIC, SPF_PASS,T_SPF_HELO_TEMPERROR autolearn=no autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.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) -- 2.30.2