Received: by 2002:ad5:4acb:0:0:0:0:0 with SMTP id n11csp5817983imw; Wed, 20 Jul 2022 13:11:48 -0700 (PDT) X-Google-Smtp-Source: AGRyM1uclQ8VVk5Vawx5HRCK0ZANchL6JQAdNPQyT3uGBB56QkMrItQUueCBs/pSjC38Uq5Qe63a X-Received: by 2002:a17:90b:4d88:b0:1f2:108:12c1 with SMTP id oj8-20020a17090b4d8800b001f2010812c1mr7425457pjb.169.1658347908403; Wed, 20 Jul 2022 13:11:48 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1658347908; cv=none; d=google.com; s=arc-20160816; b=VWtFzkALdyOoSA+jilqHu7vr0rAlehikpwmw7MuHi6IJxkjB6RCoXz9LrWakxnJTgO kENScgo6IX6Iny5DiUeM1rlm5TxZR6t3N5ZeSq6c2FsWV2bwfiCBrYi97eske5Lkz1LC uIYkWng9Zuh7MEaZLIRvddIX4w925EzBZunsKdFSjCMwsY2fJsnFiNWjKDRHEslh0ldC r+LjpEVM8qimypn5OJK0LsZC3ZfEberOFP6u3D1sVq1wdGc30I/Bw8YuO2OqZj1T8yOS TVwuKn8kWDNwLKn9zSAmT0yNo6QdRe3/2f/3LwNr5cX/JoTVh70jEBnJ+a2ucnCovSNL 5ZUg== 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=8dYNKD6t1jB7eWnZ+P+lI2hZbqukwEFwdpldAjkBHkY=; b=Wt2/4FdR8SVe3gsqnvMXw6wjEDmxVY4Se98XOrzWiRrmZSfvtGy7bCRWyDbuHibScQ RtzKUH0D5a7VAv1tQ8iuzYsqbPUVopu3bj34tiwaGut73/gv4RwDRnEyKobawUG1PwOq x4686OIZ05kaRvo6zzbB0P9pkKsicwCgpaBbQSGkXC8WdeTeYfL+lGgBHF+bnqzOEyNX Gw++pE9XPZwE0cZqiG6mkJFK+3XUPfWX7tSNBBK/qNcb0TqJyOAdOnQ3hROoxsgJZl58 QyyTZdvS/h8kwE1uTokTXbcKZTLpLrM/9rtKe4tJvTw4qgTx1DcmdiwT3l8W1wik/SIh kD6g== 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 bf8-20020a170902b90800b0015bd2c5232esi20446902plb.568.2022.07.20.13.11.34; Wed, 20 Jul 2022 13:11:48 -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 S229768AbiGTTz7 (ORCPT + 99 others); Wed, 20 Jul 2022 15:55:59 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57912 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229885AbiGTTzr (ORCPT ); Wed, 20 Jul 2022 15:55:47 -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 2A08567589 for ; Wed, 20 Jul 2022 12:55:43 -0700 (PDT) X-QQ-mid: bizesmtp86t1658346936tilnfd3r Received: from harry-jrlc.. ( [125.70.163.183]) by bizesmtp.qq.com (ESMTP) with id ; Thu, 21 Jul 2022 03:55:27 +0800 (CST) X-QQ-SSF: 0100000000200030C000C00A0000020 X-QQ-FEAT: xqT8U4SkSphJYnHyaylettPgIO47BB3yGPetCKKVCel5otGINx+MloH1vBXBj s4XxNQialnwY9aVHdto/kOIjYF+EY5mRauDF4Gn5XGQOGWoWFaDTI5IdFHkCGIue4ehH4XL 61S4HwqJYgSagy6y0wr4WjIc2bVjguvR9LOphvIjTJ/mKD4k+jkAk7Q+t9sRac8JcKtpcwk lrbvptydA4FV7/fUEvdEIyhb/LWMIC53Lfa0MmnJKiqejYvDvkyra0VhfvDprsb+Sr/wTGK lgIv+kk8G8v6rUP+0o2YND8CPPPTXOI4ZCpkInggfgoAimapysKuvJRGxFgQeS3Ro0EIgty 9GHmTkBZjZ6qKWeJBXPWfdZAyPRIGetWJqqTH7olpAhmNUl6cIXMjY+k5EcKQ== X-QQ-GoodBg: 0 From: Xin Gao To: miquel.raynal@bootlin.com, richard@nod.at, vigneshr@ti.com Cc: jim.cromie@gmail.com, linux-mtd@lists.infradead.org, linux-kernel@vger.kernel.org, Xin Gao Subject: [PATCH] mtd:do not initialise statics to 0. Date: Thu, 21 Jul 2022 03:55:26 +0800 Message-Id: <20220720195526.9289-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 --- drivers/mtd/maps/scx200_docflash.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/mtd/maps/scx200_docflash.c b/drivers/mtd/maps/scx200_docflash.c index 8462662b7128..a565d69d28d6 100644 --- a/drivers/mtd/maps/scx200_docflash.c +++ b/drivers/mtd/maps/scx200_docflash.c @@ -24,7 +24,7 @@ MODULE_AUTHOR("Christer Weinigel "); MODULE_DESCRIPTION("NatSemi SCx200 DOCCS Flash Driver"); MODULE_LICENSE("GPL"); -static int probe = 0; /* Don't autoprobe */ +static int probe; /* Don't autoprobe */ static unsigned size = 0x1000000; /* 16 MiB the whole ISA address space */ static unsigned width = 8; /* Default to 8 bits wide */ static char *flashtype = "cfi_probe"; -- 2.30.2