[kvalo-ath:pending 47/100] drivers/net/wireless/ath/ath11k/mac.c:7949 ath11k_mac_fill_reg_tpc_info() error: uninitialized symbol 'eirp_power'.

Kalle Valo kvalo at kernel.org
Thu Feb 1 08:19:15 PST 2024


Baochen Qiang <quic_bqiang at quicinc.com> writes:

> On 1/31/2024 8:35 PM, Kalle Valo wrote:
>> + ath11k list
>> kernel test robot <lkp at intel.com> writes:
>> 
>>> tree:   https://git.kernel.org/pub/scm/linux/kernel/git/kvalo/ath.git pending
>>> head:   2c471f31297856be56f60ef29f2565dea1470800
>>> commit: 92425f788feede9bf152ecf3fb7a264942ee7719 [47/100] wifi:
>>> ath11k: fill parameters for vdev set tpc power WMI command
>>> config: i386-randconfig-141-20240129
>>> (https://download.01.org/0day-ci/archive/20240131/202401311243.NyXwWZxP-lkp@intel.com/config)
>>> compiler: gcc-11 (Debian 11.3.0-12) 11.3.0
>>>
>>> If you fix the issue in a separate patch/commit (i.e. not just a new version of
>>> the same patch/commit), kindly add following tags
>>> | Reported-by: kernel test robot <lkp at intel.com>
>>> | Closes:
>>> | https://lore.kernel.org/oe-kbuild-all/202401311243.NyXwWZxP-lkp@intel.com/
>>>
>>> New smatch warnings:
>>> drivers/net/wireless/ath/ath11k/mac.c:7949
>>> ath11k_mac_fill_reg_tpc_info() error: uninitialized symbol
>>> 'eirp_power'.
>> Baochen, could you take a look at this new warning and if it's valid
>> send a fix for it, please?
>
> I sent the patch yesterday. search
> "wifi: ath11k: initialize eirp_power before use"

Great, thanks again Baochen. It's always a good practice to reply to
build bot mails, something like "This is a valid warning, I'll fix it"
is usually enough.

-- 
https://patchwork.kernel.org/project/linux-wireless/list/

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



More information about the ath10k mailing list