[bug report] wifi: ath11k: fill parameters for vdev set tpc power WMI command

Dan Carpenter dan.carpenter at linaro.org
Wed Feb 7 03:44:41 PST 2024


On Wed, Feb 07, 2024 at 01:36:53PM +0200, Kalle Valo wrote:
> Dan Carpenter <dan.carpenter at linaro.org> writes:
> 
> > The patch 92425f788fee: "wifi: ath11k: fill parameters for vdev set
> > tpc power WMI command" from Jan 11, 2024 (linux-next), leads to the
> > following Smatch static checker warning:
> >
> > 	drivers/net/wireless/ath/ath11k/mac.c:7751 ath11k_mac_fill_reg_tpc_info()
> > 	error: uninitialized symbol 'eirp_power'.
> 
> Should be fixed by the commit below, right?
> 
> https://git.kernel.org/kvalo/ath/c/b82fb7ef690b
> 

Yeah.

I'm surprised that the kbuild bot reported that.  Normally, I sanity
check uninitialized variable warnings from kbuild bot.  I'm kind of glad
that I don't have to do that any more.

regards,
dan carpenter




More information about the ath11k mailing list