Search Linux Wireless

Re: [PATCH] rtw88: 8822c: fix missing brace warning for old compilers

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

 



Sebastian Andrzej Siewior <bigeasy@xxxxxxxxxxxxx> writes:

> On 2020-05-22 11:55:21 [+0800], yhchuang@xxxxxxxxxxx wrote:
>> From: Yan-Hsuan Chuang <yhchuang@xxxxxxxxxxx>
>> 
>> For older versions of gcc, the array = {0}; will cause warnings:
>
> I wouldn't say older. I have here 9.3.0 and it does create the same
> warning.

Yeah, and usually it's best to specify the exact compiler version. "old"
and "new" are very relative terms :)

-- 
https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches



[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