Subject: Re: [PATCH] ath9k: initialize arrays at compile time

From: Toke Høiland-Jørgensen <[email-masked]>
Date: Mon, 21 Mar 2022 14:31:08 +0100

[email-masked] writes:

> From: Tom Rix <[email-masked]>
>
> Early clearing of arrays with
> memset(array, 0, size);
> is equivilent to initializing the array in its decl with
> array[size] = { 0 };
>
> Since compile time is preferred over runtime,
> convert the memsets to initializations.
>
> Signed-off-by: Tom Rix <[email-masked]>

Cf the discussion in the replies, please resubmit with empty
initialisers ({}), and fix up the commit message.

-Toke