Received: by 2002:ad5:4acb:0:0:0:0:0 with SMTP id n11csp5815237imw; Wed, 20 Jul 2022 13:08:29 -0700 (PDT) X-Google-Smtp-Source: AGRyM1sAavmkS1V/QHamJ9uA+wj3Q/nd1jxE98bf2J09LG+X14gQw43OBafToyTwqibfC0iwHwC8 X-Received: by 2002:a17:90a:b005:b0:1f2:1e3f:de39 with SMTP id x5-20020a17090ab00500b001f21e3fde39mr4899608pjq.225.1658347708918; Wed, 20 Jul 2022 13:08:28 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1658347708; cv=none; d=google.com; s=arc-20160816; b=pB6S9CgAx+dYUHeAdd020oAMqnLkRpOjBUz/TpivfN+tOJBD63RyYmDl/9HDKostg+ g34p2bQGNukAWxuUqxGxwo+XY7w3kcpWdZ0c20M604PMNRLypLz9F0KlEHXOPDTUhnhZ pfZ+hE5fofQlYuS/ycKbinV0u+jVW5Jfio2xxzZ9j4HDUbReQ4x8DX7rusGR8ZSAMwHi dN42HWnoRPok79XhP/RNU6hg71/QchSxaNrDE1gjvQsgcbVEIiYYBwol70sogBZTF17H N3WZ8cprhzQioFsao33tryWUBbcn7XiGPjSo1M569zc7J8uKgImRqrYBvq6jTYZ8w77I xJkQ== 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=5eRe6jTwxj3DviIur4lvN3y9Ixw5v0IwWkkzOX8e9sM=; b=D+AHIltIq4qKoSQ2ZeXQYNcpnKhisZ1jVENmzXNEqbfzNkaLFGCiL9nSC8dgPPM/Jq 1jfc8Ql8wBaHtXCcKzqpYkDJfrWDcGIr3VzuzHuYzecOmb0nB5/aArUqsKkw0vlFvsCh 3z08MOd+l9jqJjRvk/THH1kM7eZpSdbXlUxUWLt5pAxMyM+p7Y0in7HBrFvnzVr4pVqS utZpyMrnQmusrX6lpYDZrFd2c0jCuOk6kPhUeM5E1uiz/1/F72XgSv3Xm8FqJo13LflA oINHMlWEK2VW+uk4wDvK1VQQpdeX9My2bg8EUE0G9x2dKVsdMsSE1HoC/JqA72WXm0x9 QXCA== 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 x24-20020a63b218000000b0040882f6ed9fsi26141516pge.876.2022.07.20.13.08.14; Wed, 20 Jul 2022 13:08:28 -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 S229690AbiGTTp4 (ORCPT + 99 others); Wed, 20 Jul 2022 15:45:56 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:50640 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229607AbiGTTpw (ORCPT ); Wed, 20 Jul 2022 15:45:52 -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 11CF21145B for ; Wed, 20 Jul 2022 12:45:47 -0700 (PDT) X-QQ-mid: bizesmtp91t1658346343t1sr5yvd Received: from harry-jrlc.. ( [125.70.163.183]) by bizesmtp.qq.com (ESMTP) with id ; Thu, 21 Jul 2022 03:45:26 +0800 (CST) X-QQ-SSF: 0100000000200030C000C00A0000020 X-QQ-FEAT: FL7fsQr89f8plxF81EDIW7tFv2NlejBAABXE4pDqwsdYIrEo0ujDrBrH4Q4Nj /Z06ovsGHcPofMa/xXoVB+BPMckdAwbtulfTL7Vrg1z5aR1LPaDVP/j3QpSjN3ppOB2oo1s rdPV9axOPix8zYddIAQN49NYGKbj4tKwHdqiKj00CJoKoIiWXCYnMa9dfOuQ6wzGnMn4moJ sMTxgp+Ozhh7+eQeK3ji6uchqjt+3pLdE6T4ajfBDE3xDK6Q0ArpaWyCkW+Lg6hP0nyMuRN QmtxgfuGZvfVevRjMqCF0DjjfJAY00P7dpk0u80H5N+tlIufhdoTl7kd21nVV+Thtehhb+Q bmkj/5d16zj2XaBhTmQz9tu9TVH14m00fzC926s7UD1+kGgosI= X-QQ-GoodBg: 0 From: Xin Gao To: zbr@ioremap.net Cc: linux-kernel@vger.kernel.org, Xin Gao Subject: [PATCH] w1:do not initialise statics to 0. Date: Thu, 21 Jul 2022 03:45:25 +0800 Message-Id: <20220720194525.8620-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/w1/w1.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/w1/w1.c b/drivers/w1/w1.c index f2ae2e563dc5..bb28e36993d6 100644 --- a/drivers/w1/w1.c +++ b/drivers/w1/w1.c @@ -32,7 +32,7 @@ static int w1_timeout = 10; module_param_named(timeout, w1_timeout, int, 0); MODULE_PARM_DESC(timeout, "time in seconds between automatic slave searches"); -static int w1_timeout_us = 0; +static int w1_timeout_us; module_param_named(timeout_us, w1_timeout_us, int, 0); MODULE_PARM_DESC(timeout_us, "time in microseconds between automatic slave searches"); -- 2.30.2