Search Linux Wireless

Re: [PATCH]: ath: Fix uninitialized variable warnings

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

 



On Thu, 2010-06-17 at 18:41 -0400, Prarit Bhargava wrote:
...
> New linux-2.6 patch using Pavel's suggestion.
> 
> 
> Fix "make -j32 CONFIG_DEBUG_SECTION_MISMATCH=y" warning:
> 
> drivers/net/wireless/ath/ath9k/eeprom_9287.c: In function ʽath9k_hw_get_AR9287_gain_boundaries_pdadcsʼ:
> drivers/net/wireless/ath/ath9k/eeprom_9287.c:301: warning: ʽminPwrT4ʼ may be used uninitialized in this function
> drivers/net/wireless/ath/ath9k/eeprom_4k.c: In function ʽath9k_hw_get_4k_gain_boundaries_pdadcs.clone.1ʼ:
> drivers/net/wireless/ath/ath9k/eeprom_4k.c:310: warning: ʽminPwrT4ʼ may be used uninitialized in this function
> drivers/net/wireless/ath/ath9k/eeprom_def.c: In function ʽath9k_hw_get_def_gain_boundaries_pdadcs.clone.0ʼ:
> drivers/net/wireless/ath/ath9k/eeprom_def.c:677: warning: ʽminPwrT4ʼ may be used uninitialized in this function
> 
> Remove tMinCalPower and the corresponding function arguments  as it is not
> used.
> 
> Signed-off-by: Prarit Bhargava <prarit@xxxxxxxxxx>

Acked-by: Pavel Roskin <proski@xxxxxxx>

-- 
Regards,
Pavel Roskin
--
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