[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <175823923890.3217488.17674946008340249630.b4-ty@oss.qualcomm.com>
Date: Thu, 18 Sep 2025 16:47:18 -0700
From: Jeff Johnson <jeff.johnson@....qualcomm.com>
To: Jeff Johnson <jjohnson@...nel.org>,
Baochen Qiang <quic_bqiang@...cinc.com>,
Vasanthakumar Thiagarajan <vasanthakumar.thiagarajan@....qualcomm.com>,
Baochen Qiang <baochen.qiang@....qualcomm.com>
Cc: linux-wireless@...r.kernel.org, ath12k@...ts.infradead.org,
linux-kernel@...r.kernel.org, kernel test robot <lkp@...el.com>,
Dan Carpenter <dan.carpenter@...aro.org>
Subject: Re: [PATCH ath-next 0/2] wifi: ath12k: fix 2 instances of Smatch
warnings
On Mon, 04 Aug 2025 11:03:09 +0800, Baochen Qiang wrote:
> Fix below two Smatch warnings:
>
> 1#
> drivers/net/wireless/ath/ath12k/mac.c:10069
> ath12k_mac_fill_reg_tpc_info() error: uninitialized symbol 'eirp_power'.
>
> 2#
> drivers/net/wireless/ath/ath12k/mac.c:9812
> ath12k_mac_parse_tx_pwr_env() error: buffer overflow 'local_non_psd->power' 5 <= 15
> drivers/net/wireless/ath/ath12k/mac.c:9812
> ath12k_mac_parse_tx_pwr_env() error: buffer overflow 'reg_non_psd->power' 5 <= 15
>
> [...]
Applied, thanks!
[1/2] wifi: ath12k: initialize eirp_power before use
commit: bba2f9faf41ee9607c78fcd669527b7654543cfe
[2/2] wifi: ath12k: fix overflow warning on num_pwr_levels
commit: ea2b0af4c9e3f7187b5be4b7fc1511ea239046c0
Best regards,
--
Jeff Johnson <jeff.johnson@....qualcomm.com>
Powered by blists - more mailing lists