Search Linux Wireless

Re: [PATCH 3/6] b43: N-PHY: add RSSI calculation for PHY rev < 3

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

 



W dniu 11 stycznia 2010 23:42 użytkownik Michael Buesch <mb@xxxxxxxxx> napisał:
> On Monday 11 January 2010 23:27:18 Rafał Miłecki wrote:
>> Whoops, I should have explained what I mean. I am not sure what CFLAGS
>> "make" picks for compiled but I get:
>>
>>   CC [M]  drivers/net/wireless/b43/phy_n.o
>> drivers/net/wireless/b43/phy_n.c: In function ‘b43_nphy_rev2_rssi_cal’:
>> drivers/net/wireless/b43/phy_n.c:887: warning: missing braces around initializer
>> drivers/net/wireless/b43/phy_n.c:887: warning: (near initialization
>> for ‘results[0]’)
>>
>> for s32 results[4][4] = { 0, };
>>
>
> But does this work?
> s32 results[4][4] = { };

Yes, this compiles fine, and I believe it works fine :)

-- 
Rafał
--
To unsubscribe from this list: send the line "unsubscribe linux-wireless" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Host AP]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Linux Kernel]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]
  Powered by Linux