Search Linux Wireless

Re: [PATCH] ath6kl: fix compiler warning in ath6kl_init_hw_params()

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

 



On 01/31/2012 09:26 PM, Kalle Valo wrote:
> Both Luis and John reported that they see a compiler warning:
> 
> drivers/net/wireless/ath/ath6kl/init.c: In function 'ath6kl_init_hw_params':
> drivers/net/wireless/ath/ath6kl/init.c:1377:26: warning: ‘hw’
> may be used uninitialized in this function
> 
> Oddly enough I have never seen it. But AFAICT the code is correct and
> hw is not used uninitalized so add uninitialized_var() to inform that to
> the compiler.
> 
> Reported-by: Luis R. Rodriguez <mcgrof@xxxxxxxxxxxxxxxx>
> Reported-by: John W. Linville <linville@xxxxxxxxxxxxx>
> Signed-off-by: Kalle Valo <kvalo@xxxxxxxxxxxxxxxx>

Applied.

Kalle
--
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