[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <af6042d0-952f-f497-57e7-37fef45a1f76@phrozen.org>
Date: Sun, 20 Mar 2022 17:48:31 +0100
From: John Crispin <john@...ozen.org>
To: trix@...hat.com, toke@...e.dk, kvalo@...nel.org,
davem@...emloft.net, kuba@...nel.org, pabeni@...hat.com
Cc: linux-wireless@...r.kernel.org, netdev@...r.kernel.org,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH] ath9k: initialize arrays at compile time
On 20.03.22 16:20, trix@...hat.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
Powered by blists - more mailing lists