Messages in this thread |  | | Date | Sun, 20 Mar 2022 18:17:01 +0100 | Subject | Re: [PATCH] ath9k: initialize arrays at compile time | From | Sebastian Gottschall <> |
| |
Am 20.03.2022 um 17:48 schrieb John Crispin: > > > 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
You are right, john
Sebastian
|  |