Search Linux Wireless

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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 





On 20.03.22 16:20, trix@xxxxxxxxxx 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



[Index of Archives]     [Linux Host AP]     [ATH6KL]     [Linux Wireless Personal Area Network]     [Linux Bluetooth]     [Wireless Regulations]     [Linux Netdev]     [Kernel Newbies]     [Linux Kernel]     [IDE]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite Hiking]     [MIPS Linux]     [ARM Linux]     [Linux RAID]

  Powered by Linux