Received: by 2002:a05:6358:9144:b0:117:f937:c515 with SMTP id r4csp4079525rwr; Mon, 8 May 2023 02:31:08 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ7T+NcsminYW11gsMx8WWl2sqJ/nbqMCJr9+WhhVFVWSOGWP5HlZldXsb86S+7XzCpNL8qu X-Received: by 2002:a17:902:a983:b0:1a6:54ce:4311 with SMTP id bh3-20020a170902a98300b001a654ce4311mr9663169plb.43.1683538268514; Mon, 08 May 2023 02:31:08 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1683538268; cv=none; d=google.com; s=arc-20160816; b=NZdTTxyJ5pknhKN9+rM9ULZMuMuLGGjRYLKTQs9/mJPeHM6dXfrURqHi2I7UoUt1+K DL8VT7vPYXDiVYsH17vRU4Zl5u1Y7LK1p2s2dDas473BsD24TfknLjbFFTFc+QkQIncL Xqj4qHpKj8YxcKPRaqHNAyu5+hSEu7sKXY3UcjhEgDSy7ZXExPGES6m578U71WZpiI2B Nh4zHLNKk9mAeWs/fg/Wic3ufcAkw4H8MxJg8Y6bkeibb9PXqLOOwubOOEfWzWoq0Li6 +btfNx4NbxybcJMVn8Gmn+O29PLvr1eQqnPPIhwaswACq43G/bCkqlSAY1up2lLfR4zx aTAQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=o+wAkvBV4vWk+JSuZzEHX77Tgv9/h1giLrSEpEx00Nw=; b=Nna+V3OBT+lc9FUERH6lNjIUxv5Qir0GnJa6FW2xB2iFRfaNHyKZXEUQ5Gnmicd972 H/VCZpj6w7ubiFFLXFe1R/49FqNPw4Y66/EC40QXh3I12NWy37WSjtieWxboz9+HD3VN pY/egweWHh+HhHvimBv7TjjDfHtq8Cr6b74nwp8Z9vUW4xjVCCv9VY3c5x8YxNpTXK+l EsieYYeq/OS3jTxVTFjAlBniJzq0+uj7wEy3j/Z8WqaiZtiT9SRluNNYhHSZb8emMas5 ChNsbkz8grdzrCkcKcFAH/ctpt3l7D5rf4voQprU5nr7UA/nsJ81OLBTGT8me9nwk8cA p3uw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=cHYNPb7P; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id w14-20020a170902e88e00b001a9265e6fdasi7275812plg.268.2023.05.08.02.30.52; Mon, 08 May 2023 02:31:08 -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; dkim=pass header.i=@linaro.org header.s=google header.b=cHYNPb7P; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233710AbjEHJBi (ORCPT + 99 others); Mon, 8 May 2023 05:01:38 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:43256 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233607AbjEHJA4 (ORCPT ); Mon, 8 May 2023 05:00:56 -0400 Received: from mail-ej1-x635.google.com (mail-ej1-x635.google.com [IPv6:2a00:1450:4864:20::635]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A8EB023497 for ; Mon, 8 May 2023 02:00:35 -0700 (PDT) Received: by mail-ej1-x635.google.com with SMTP id a640c23a62f3a-959a3e2dd27so752880666b.3 for ; Mon, 08 May 2023 02:00:35 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1683536414; x=1686128414; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=o+wAkvBV4vWk+JSuZzEHX77Tgv9/h1giLrSEpEx00Nw=; b=cHYNPb7PP1d6l6QTflQgGCYjvcoYvnOdHN4v5HM8qfDPry42vMXeGVdlqkiJ8V0lUa E82RJcVvDFZR+QtNbF3vILE9IEjmSXf51sc8qDagQcKbno4vhLyUZbIvGZF8KTzgVcQE epRmxVwqld/tSwvNX4y+Rbn3c7b+D8jXqFJPZl3up+i6zkmzC9MgM5rPP/1cEDrTIGIi Hj1E3gGG5bN9LxUZ5aBnp3i4hU9wpqIb/N9cpfh6/oaqukf/M3VI5ZLq9oAFPonoqlk/ M8acJcletz7BeJRQRAfWaaGeYNjkl12lzbxVh5fL3f0zKDOvF86MEBgcnm2EWk3hP3p9 GZBA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1683536414; x=1686128414; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=o+wAkvBV4vWk+JSuZzEHX77Tgv9/h1giLrSEpEx00Nw=; b=MQK19iox/8Asao1jyIvKFZFu+4fd8dTqTK3ylOvwhini7M6hwaYyNOgZgMXZBihpWs SqdWWApxhVvpl5LbzTvHNszck3L2zd/RctsxalzqzDNCHUeNKxQAK1xhT6EybF1qNloh giq0kaf/hPJL8GKQiBeEhRmoRn2L3trb55Ig1r8QI4a6ca5rPszAMkf7YVnHpF05Mt47 qjXT+8R0dZ7pdQuTKvxuwC9JKXNpe+cZ2YA7qOBg23473jcy/eKXwolHehJhheQGWnV2 8EGd8QcQtQy8AGFqBTmmvhpWR1B1/U9qrdPkRtcVo1Mgc1fMYNcZoy3hItZ2Cw37Ju3b FZIw== X-Gm-Message-State: AC+VfDzfufj7mDwds3025/W/k//LGW6vhH1jPR72eMCjVYb8IUWF3Waj 3CclAA2ewiqtFnbwCHZGpgvRZA== X-Received: by 2002:a17:906:dc93:b0:965:9602:1f07 with SMTP id cs19-20020a170906dc9300b0096596021f07mr8908240ejc.39.1683536413947; Mon, 08 May 2023 02:00:13 -0700 (PDT) Received: from krzk-bin.. ([2a02:810d:15c0:828:50e0:ebdf:b755:b300]) by smtp.gmail.com with ESMTPSA id jz4-20020a170906bb0400b0094bb4c75695sm4718953ejb.194.2023.05.08.02.00.13 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 08 May 2023 02:00:13 -0700 (PDT) From: Krzysztof Kozlowski To: zbr@ioremap.net, Jason Wang Cc: Krzysztof Kozlowski , linux-kernel@vger.kernel.org Subject: Re: [PATCH] w1: no need to initialise statics to 0 Date: Mon, 8 May 2023 10:59:46 +0200 Message-Id: <168353638586.78189.4410499030295048106.b4-ty@linaro.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20220508023400.102244-1-wangborong@cdjrlc.com> References: <20220508023400.102244-1-wangborong@cdjrlc.com> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham 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 On Sun, 08 May 2022 10:34:00 +0800, Jason Wang wrote: > Static variables do not need to be initialised to 0, because compiler > will initialise all uninitialised statics to 0. Thus, remove the > unneeded initializations. > > Applied, thanks! [1/1] w1: no need to initialise statics to 0 https://git.kernel.org/krzk/linux-w1/c/ecaed1a26f7215f48420a9c02e229b84b5fbb882 Best regards, -- Krzysztof Kozlowski