Received: by 2002:a05:6a10:413:0:0:0:0 with SMTP id 19csp1626262pxp; Mon, 21 Mar 2022 00:57:13 -0700 (PDT) X-Google-Smtp-Source: ABdhPJw/mywndzJdnFaqK5ZQZGyLN9Cy/yoHxJLnIi8a/kODGa7lfgJEVXqvDr8y6qEZIpV2/yuQ X-Received: by 2002:a17:907:2dab:b0:6db:f0a6:761a with SMTP id gt43-20020a1709072dab00b006dbf0a6761amr19798311ejc.584.1647849433325; Mon, 21 Mar 2022 00:57:13 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1647849433; cv=none; d=google.com; s=arc-20160816; b=sqGVKVlzy30xFYUW6KqdM11rwOiBoUtNy/m5DU6lt0Ob0WEDBN9MjJR4JG2IX8xngq ynQe2czPrUd3g0DyYcXL3lCD8GwNOvmAv/+hqrrnE3IPRhDHOsDLvqhjadnwVcDufjxq VbqBrAgVzUCXg7EtnMzG5z5yMQJGDBo8KnClkjYHJ7NJjIW1nhM6+6/OhGI1gbX80A+W dJQb1CeiB1jXc8l6VO2qWJAF9jRu50kb6BxTkGRMtI564uYEbwn1ZSFeh3U5ttVksbig hsKF65l1/3mlKdxcv9Mxh5Xpqh4q0MR64ouN1eS2QmTQxd6UvLLKIsRAErEsNCYigXBW XaDg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :references:cc:to:content-language:subject:user-agent:mime-version :date:message-id; bh=A/2Y/KYfsx9VK1Zw1Iv3USJHefjQui8qqNRH5VkxroI=; b=auf+RoA6XJ6GaTidGZ8DVtTJbH+8f4w55KoDfOdubncUwspWv2226qFHPKpqAgWMUF peBFRAIFe3mmEyQAdLsouzJVbdZyNyiwBgGFQ4tfOd3I35/iHERWXvJKP+Q5gtsle1Vh 4KhtTR8RhKaCgfeogckH3wbo31+IoILyb98fHfwec3HdMvxpRYvUnQvJlUK97DxsnSI6 l5lKUlJn3tjKKqYVmKrXnnAJ6WBB1c5lVb7EnSwsr0tAjx16MUpqxHK+jaDaKe/v1tZx TYkd70xosyvCzwC98nAuoUG8aSf0gN0iN0yEJLoX1xwkE6q27ghDi/hkPyJcx0ZUZMRV U1Ew== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-wireless-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 q19-20020a50aa93000000b00418c2b5be8dsi9742193edc.367.2022.03.21.00.56.50; Mon, 21 Mar 2022 00:57:13 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-wireless-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-wireless-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-wireless-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S245531AbiCTQuN (ORCPT + 70 others); Sun, 20 Mar 2022 12:50:13 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:39564 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232215AbiCTQuM (ORCPT ); Sun, 20 Mar 2022 12:50:12 -0400 Received: from nbd.name (nbd.name [IPv6:2a01:4f8:221:3d45::2]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 79F8F34653; Sun, 20 Mar 2022 09:48:47 -0700 (PDT) Received: from [2a04:4540:1401:6400:f8bb:a742:66a1:bedc] by ds12 with esmtpsa (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.89) (envelope-from ) id 1nVyjI-00089K-4Z; Sun, 20 Mar 2022 17:48:32 +0100 Message-ID: Date: Sun, 20 Mar 2022 17:48:31 +0100 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:91.0) Gecko/20100101 Thunderbird/91.7.0 Subject: Re: [PATCH] ath9k: initialize arrays at compile time Content-Language: en-GB To: trix@redhat.com, toke@toke.dk, kvalo@kernel.org, davem@davemloft.net, kuba@kernel.org, pabeni@redhat.com Cc: linux-wireless@vger.kernel.org, netdev@vger.kernel.org, linux-kernel@vger.kernel.org References: <20220320152028.2263518-1-trix@redhat.com> From: John Crispin In-Reply-To: <20220320152028.2263518-1-trix@redhat.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,NICE_REPLY_A, 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-wireless@vger.kernel.org On 20.03.22 16:20, trix@redhat.com wrote: > array[size] = { 0 }; should this not be array[size] = { }; ?! If I recall correctly { 0 } will only set the first element of the struct/array to 0 and leave random data in all others elements John