Received: by 2002:ad5:4acb:0:0:0:0:0 with SMTP id n11csp5795994imw; Wed, 20 Jul 2022 12:44:20 -0700 (PDT) X-Google-Smtp-Source: AGRyM1ueTKcLS0ce2fpGGLKxc2MT+w9lNXtA79d+9Ypw52aT7ida83xTwepdsiN1q1tyONNAePRy X-Received: by 2002:a17:903:32cb:b0:16d:2dda:1edb with SMTP id i11-20020a17090332cb00b0016d2dda1edbmr1195603plr.143.1658346259932; Wed, 20 Jul 2022 12:44:19 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1658346259; cv=none; d=google.com; s=arc-20160816; b=iKl1HqAbiItH7eYpk6qhoZmRFloh+qvzPWCei9Agt9ctNTi8z3hOV7F1UW72AdTUwv BtoHeb+MBTyLRnj3Ob4pe8oI3Z3C554b+VsvgLo+J7OFY6utoZJ/iUvVzlkuoyRQz+j8 4g9HhkeOywLho1ino6O/5U1yylcocFFzGeUFXJSAVkQVGYS3Q5YmLmdzT929IezcWP0L XotrYX1+ON4oXDcv4zLv1K3bgOTwovxF8wHeHvKD9E4oUj6AI6JXNI1O8bWk0OT97zWe HNIbCDPvBi8LbB08jLZY6GklfsiEYi3kS9LVLPhKOpvjYG+oOQ++fc+8Rqu0VsRApMI3 QAmg== 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=BQxx+YUoCWvZvRKGl8qTuItaPaMlDntS+OxQnPGxLQ0=; b=nvD/BBr8SkCj2lxKHRSXU5WNNJj1IVMQQLz0Bftm1LLD40JDqwzBAKWZIo/IojsxBa naurahAFLy3r7wR22ykimf0ZXrGTRx21ZStPVE7c4mWbG2/KWrzPmBe4mhpjGt+i4BwB OfUxMxsPUvheQ3w/mo4M3XYKtapQ5IiGmEn/1DuALMPe+fdaFgPLqqIwXK9iVjLROtpg KHw6nuGFQEOIziO1YKg5yXmxuXkP2W8BRl5Yijc5wF+ajxXJhVVgbCAvikkPnidqzUoZ u3erIJoU8PxlRs4QccBfy9lZUi2SCtw0EEWt6wxG6GP3Z3vXLspd7Dx0qLZILsWl0nSc h41g== 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 kk17-20020a17090b4a1100b001f06deff0afsi4142745pjb.82.2022.07.20.12.44.05; Wed, 20 Jul 2022 12:44:19 -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 S235481AbiGTTfo (ORCPT + 99 others); Wed, 20 Jul 2022 15:35:44 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:42988 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229577AbiGTTfn (ORCPT ); Wed, 20 Jul 2022 15:35:43 -0400 Received: from smtpbg.qq.com (unknown [43.155.67.158]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 2FE3DB84D for ; Wed, 20 Jul 2022 12:35:38 -0700 (PDT) X-QQ-mid: bizesmtp91t1658345619tlxc36xd Received: from harry-jrlc.. ( [125.70.163.183]) by bizesmtp.qq.com (ESMTP) with id ; Thu, 21 Jul 2022 03:33:26 +0800 (CST) X-QQ-SSF: 0100000000200030C000B00A0000020 X-QQ-FEAT: +bXiSo2NuBdrFYQDLwG0mkbTmkYoUp0G4ZKwN7IgFJwdFj8YlnEZ78Ce/Npke nw39G9HLqWuqKsFNKux4+eVnuakvTR7zG8DVV5Q6G4Yp3SzyxrROZp+bXDnakoHb0kgkqP/ ew8aEhDI7hdvPYIToPyaaC0tV5NGiT5C8RiaqvMCgpmrBCqh5Fqt+E56fTSmwUt6v1I8lJh eHtvWBG0U8WmD0Khe/o8GT5gaPodJnbxfBEO0uMg+ZTIv0H9I7j37TZz7bmVyGo+V1jEv/O GHjAmYdDGpuKEcCJITsOSl3w9V9FQCG31/pgOkIscXTYTRG51jK4P9hUtyR3fxCyZwzthyp 4mUH9/cMVdZ/kUHd5xD+K7sMfCEFtg4/rWTiEUJomYP8B5LB/nOmtKNbaG8qw== 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] 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 Content-Transfer-Encoding: 8bit X-QQ-SENDSIZE: 520 Feedback-ID: bizesmtp:cdjrlc.com:qybglogicsvr:qybglogicsvr6 X-Spam-Status: No, score=-1.1 required=5.0 tests=BAYES_00,RDNS_NONE,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/mconsole_kern.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/um/drivers/mconsole_kern.c b/arch/um/drivers/mconsole_kern.c index 8ca67a692683..de40e7822fa6 100644 --- a/arch/um/drivers/mconsole_kern.c +++ b/arch/um/drivers/mconsole_kern.c @@ -283,7 +283,7 @@ struct unplugged_pages { }; static DEFINE_MUTEX(plug_mem_mutex); -static unsigned long long unplugged_pages_count = 0; +static unsigned long long unplugged_pages_count; static LIST_HEAD(unplugged_pages); static int unplug_index = UNPLUGGED_PER_PAGE; -- 2.30.2