From: Jeff Johnson <jeff.johnson@oss.qualcomm.com>
To: Baochen Qiang <baochen.qiang@oss.qualcomm.com>,
Jeff Johnson <jjohnson@kernel.org>,
Baochen Qiang <quic_bqiang@quicinc.com>,
Vasanthakumar Thiagarajan
<vasanthakumar.thiagarajan@oss.qualcomm.com>
Cc: linux-wireless@vger.kernel.org, ath12k@lists.infradead.org,
linux-kernel@vger.kernel.org, kernel test robot <lkp@intel.com>,
Dan Carpenter <dan.carpenter@linaro.org>
Subject: Re: [PATCH ath-next 0/2] wifi: ath12k: fix 2 instances of Smatch warnings
Date: Wed, 6 Aug 2025 07:10:07 -0700 [thread overview]
Message-ID: <81440d36-9729-4eb5-aa30-d94d0f85b7a1@oss.qualcomm.com> (raw)
In-Reply-To: <20250804-ath12k-fix-smatch-warning-on-6g-vlp-v1-0-56f1e54152ab@oss.qualcomm.com>
On 8/3/2025 8:03 PM, 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
>
> Signed-off-by: Baochen Qiang <baochen.qiang@oss.qualcomm.com>
> ---
> Baochen Qiang (2):
> wifi: ath12k: initialize eirp_power before use
> wifi: ath12k: fix overflow warning on num_pwr_levels
>
> drivers/net/wireless/ath/ath12k/mac.c | 16 ++++++++++------
> 1 file changed, 10 insertions(+), 6 deletions(-)
Since this is fixing smatch issues I plan on taking this through ath-current
instead of ath-next.
/jeff
next prev parent reply other threads:[~2025-08-06 14:10 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-08-04 3:03 Baochen Qiang
2025-08-04 3:03 ` [PATCH ath-next 1/2] wifi: ath12k: initialize eirp_power before use Baochen Qiang
2025-08-04 3:03 ` [PATCH ath-next 2/2] wifi: ath12k: fix overflow warning on num_pwr_levels Baochen Qiang
2025-08-06 14:10 ` Jeff Johnson [this message]
2025-08-11 3:38 ` [PATCH ath-next 0/2] wifi: ath12k: fix 2 instances of Smatch warnings Baochen Qiang
2025-09-17 3:45 ` Vasanthakumar Thiagarajan
2025-09-18 23:47 ` Jeff Johnson
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=81440d36-9729-4eb5-aa30-d94d0f85b7a1@oss.qualcomm.com \
--to=jeff.johnson@oss.qualcomm.com \
--cc=ath12k@lists.infradead.org \
--cc=baochen.qiang@oss.qualcomm.com \
--cc=dan.carpenter@linaro.org \
--cc=jjohnson@kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-wireless@vger.kernel.org \
--cc=lkp@intel.com \
--cc=quic_bqiang@quicinc.com \
--cc=vasanthakumar.thiagarajan@oss.qualcomm.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®