Received: by 2002:a05:6a10:2726:0:0:0:0 with SMTP id ib38csp5504122pxb; Mon, 28 Mar 2022 13:25:06 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxep9lwrzYuTEJAtkc8Xbt1+NpRDO3a9wmdwRnFo1XW1LE+BNK4U70W1Stns5f4PRraJ29b X-Received: by 2002:a05:6402:3495:b0:419:1ff6:95d9 with SMTP id v21-20020a056402349500b004191ff695d9mr18608662edc.249.1648499106062; Mon, 28 Mar 2022 13:25:06 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1648499106; cv=none; d=google.com; s=arc-20160816; b=i9eDTmmUBJ8G1+PBXgl1pC5yY7riJzVcWBvOIDfW4+x40XZaBPDEQxHG0CLdoLECZs 8VO/lhzfPFI2PShHVDod3d/ubrT3ygL5lq6VF6LveyAjIDQ6a2vqfVwuL8/D3Nj4tN+C tKrQTEmdW0/RNtt6D+j2WKi5JB5xUdUVHhryg/npPE3Oks+OYNa3WFRUX/iP3Yvbxy+D VMhXsrKBxgDZXmQBMQfyAFg1Zh4A/DK5brqZxAXzeYhQkM2Eg0D8xjIMJnVILzNtFvq5 OYlHQep44HvdlkKzMgXvh6AechlFHDXw/Ik5JWMTA6VbgtRJeQnAD0/TkV8wD7537H9a EtTQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:message-id:date:references :in-reply-to:subject:cc:to:dkim-signature:from; bh=K5yQXy54JHY7rUigzUmzvWRAXrXCNGan+s8kLUY9Ypg=; b=dQuLZntkxJRCUVoivAa1ZRNJzV9SXpZHnN6c2+NwjIQncNcC5SWpDlNVwQreVh3hvD 0Gyz0JvjsfpkXHQ3KmlNukrX+nC/vYR1mftfOx6lrPVHQ45ee1TUsHNSS9JWGVnTp/oc 6R8qrDBusmrg7yKfAwrI35lG91MmSzIx/FgyqMP/7LkAVhQRQLPq8k/6QAdng9Av0BVk 7JEVz7EYkSOtw3v9unTNDCNtS10GvxBySmejP3b6VQcIUh9zKBbtlgww0P4xP1FvugbI LFiekiKIF1MReAFSWEpivNjfUfxh0MLMHmkGW97oZtGxmwtnpJmmKy3rDXnpz67F3qks UY/Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@toke.dk header.s=20161023 header.b=ofDZ73PT; 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; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=toke.dk Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id y67-20020a50bb49000000b00418c2b5be22si14548286ede.260.2022.03.28.13.24.48; Mon, 28 Mar 2022 13:25:05 -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; dkim=pass header.i=@toke.dk header.s=20161023 header.b=ofDZ73PT; 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; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=toke.dk Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S240156AbiC1Prr (ORCPT + 68 others); Mon, 28 Mar 2022 11:47:47 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:52028 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S240012AbiC1Pra (ORCPT ); Mon, 28 Mar 2022 11:47:30 -0400 Received: from mail.toke.dk (mail.toke.dk [IPv6:2a0c:4d80:42:2001::664]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 0ADEF63516; Mon, 28 Mar 2022 08:45:22 -0700 (PDT) From: Toke =?utf-8?Q?H=C3=B8iland-J=C3=B8rgensen?= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=toke.dk; s=20161023; t=1648482320; bh=K5yQXy54JHY7rUigzUmzvWRAXrXCNGan+s8kLUY9Ypg=; h=From:To:Cc:Subject:In-Reply-To:References:Date:From; b=ofDZ73PT3hE1qlcu5lkOC7Sq4XZwM2YVi91N9xPgJ8T28zB6ObXxYQLy2Ib9wAkQh trPseX/HRnwhCB/Q1iSVmHzDZTK7WAMCRs92J9513k/P+D36geZxbHH9PJBz7zBTs5 JAjOeESdMBiptiWXnD/0XBUIBlA3VdGERP/vdGzc0CJKCrOlh+542VIEz934paARwx EH6uMRV1+3zh9ah3wD1fEVbTTXLSOZR/jQ+DwhDCcVATPXrVWRVNItknc6uWynz40Z dHqJem2DBzk1Ogq3y014Ngis6EjOQhHGcwykAzUboE+Bh5qBgXQ5vXwup7Uop5Hun1 hCfHRA5rzU0Ew== To: trix@redhat.com, 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, Tom Rix Subject: Re: [PATCH v2] ath9k: initialize arrays at compile time In-Reply-To: <20220328130727.3090827-1-trix@redhat.com> References: <20220328130727.3090827-1-trix@redhat.com> Date: Mon, 28 Mar 2022 17:45:19 +0200 X-Clacks-Overhead: GNU Terry Pratchett Message-ID: <878rsu5be8.fsf@toke.dk> MIME-Version: 1.0 Content-Type: text/plain X-Spam-Status: No, score=-4.4 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED,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 trix@redhat.com writes: > From: Tom Rix > > Early clearing of arrays with > memset(array, 0, size); > is equivilent to initializing the array in its decl with > array[size] = {}; > > Convert the memsets to initializations. > > Signed-off-by: Tom Rix The changes LGTM. However, the patch doesn't apply cleanly; could you please rebase against the ath-next branch[0] and resubmit? -Toke [0] https://git.kernel.org/pub/scm/linux/kernel/git/kvalo/ath.git/log/?h=ath-next