Received: by 2002:a05:6a10:7420:0:0:0:0 with SMTP id hk32csp907990pxb; Thu, 17 Feb 2022 18:10:22 -0800 (PST) X-Google-Smtp-Source: ABdhPJyqLgiI0XqKL1rmAftZDqHbNMtQMZXI9v1bKcZcTzAU1rFwoQGXdDgHXQl89l6UuMo/BVgh X-Received: by 2002:a17:902:9a02:b0:14f:2d93:92f4 with SMTP id v2-20020a1709029a0200b0014f2d9392f4mr5689428plp.160.1645150222158; Thu, 17 Feb 2022 18:10:22 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1645150222; cv=none; d=google.com; s=arc-20160816; b=TUsE3SWrMk/rzmEPqFssG7tYYjKSiv+E1VW+iPIL/4W4UmHNAaM7V/Z5Js/nI+/04f kVexiL7dSiRTWhX5SFyT8RJkz2CBeWe2VZeB0ihatoql7dm8VhAs7/4oe/iO5tBihfQE u8+W3sPv+GmOomZjBBzvbR9GNhh6i+97gsKz4HhXBGXMzQwTSBsPIKcEd14UVC7X4BiY ZxmYe5PfvYTgBiz139umSEhArCr/elXs1lDAv00zdVr2+C1UqMuFPtO+DzT+b5AkekhO f5LeTaFYW06eetd8fOvAQDCk/0BbsqrRc9b7vYsSMiRF/Ski7rHMrhC1htZghepDSWot NJBw== 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:date :message-id:subject:references:in-reply-to:cc:to:from; bh=qkum3oveHlU6mR1/JJRUkKSGskzJNK0HyNWq5gTKN2g=; b=umhMBUv8D9lXsnoI7QdaB9+7VvwAznWJa9eSOb5CHCB1gHcdZH+vcX5AEOcPxUNkRT wWjUr8elh6mc0NtS8T6dZEUJQXOLvsnqV4o1MV0zPKHE6sFlcVkuUqpemHOSInWW76xi xNr0VG1iDAHoBI6TjLUPT10MLm0fSOsNuPYu5PHBemKpNDzCd0UU1J2mEerMAqmhedYk lRW2ErR10d0m3LA2ix8gJPhIOs1x2gTYqXE+T2uJGhKiYtjS/X2MN0AVaOlrBOMULzGJ 64TgyoTZPbCwgjSyNlBr/X8siJLYioJ7IzwOdZ7awqR1KTdpSA8sXAiPyW7JU5awN4Wj /xWA== 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:18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [2620:137:e000::1:18]) by mx.google.com with ESMTPS id h18si18942575plf.517.2022.02.17.18.10.21 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 17 Feb 2022 18:10:22 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) client-ip=2620:137:e000::1:18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id B4A4B10DC; Thu, 17 Feb 2022 18:10:20 -0800 (PST) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231440AbiBRCKc (ORCPT + 99 others); Thu, 17 Feb 2022 21:10:32 -0500 Received: from gmail-smtp-in.l.google.com ([23.128.96.19]:42104 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231435AbiBRCKa (ORCPT ); Thu, 17 Feb 2022 21:10:30 -0500 Received: from gandalf.ozlabs.org (gandalf.ozlabs.org [150.107.74.76]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 53C0210DC for ; Thu, 17 Feb 2022 18:10:15 -0800 (PST) Received: from authenticated.ozlabs.org (localhost [127.0.0.1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by mail.ozlabs.org (Postfix) with ESMTPSA id 4K0FX33bvXz4xcd; Fri, 18 Feb 2022 13:10:11 +1100 (AEDT) From: Michael Ellerman To: Jason Wang , mpe@ellerman.id.au Cc: benh@kernel.crashing.org, linuxppc-dev@lists.ozlabs.org, linux-kernel@vger.kernel.org, paulus@samba.org In-Reply-To: <20211220030243.603435-1-wangborong@cdjrlc.com> References: <20211220030243.603435-1-wangborong@cdjrlc.com> Subject: Re: [PATCH] powerpc/kvm: no need to initialise statics to 0 Message-Id: <164515018949.908917.14452521807329931842.b4-ty@ellerman.id.au> Date: Fri, 18 Feb 2022 13:09:49 +1100 MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,RDNS_NONE, SPF_HELO_NONE,T_SCC_BODY_TEXT_LINE 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 On Mon, 20 Dec 2021 11:02:43 +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 initialization. > > Applied to powerpc/topic/ppc-kvm. [1/1] powerpc/kvm: no need to initialise statics to 0 https://git.kernel.org/powerpc/c/8e0f353a44ff3d65d933b8c0e4fb15dc89d46617 cheers