[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20200126104545.83226C447A2@smtp.codeaurora.org>
Date: Sun, 26 Jan 2020 10:45:45 +0000 (UTC)
From: Kalle Valo <kvalo@...eaurora.org>
To: Colin King <colin.king@...onical.com>
Cc: "David S . Miller" <davem@...emloft.net>,
Anilkumar Kolli <akolli@...eaurora.org>,
Manikanta Pubbisetty <mpubbise@...eaurora.org>,
Sven Eckelmann <seckelmann@...to.com>,
Pradeep Kumar Chitrapu <pradeepc@...eaurora.org>,
ath11k@...ts.infradead.org, linux-wireless@...r.kernel.org,
netdev@...r.kernel.org, kernel-janitors@...r.kernel.org,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH] ath11k: ensure ts.flags is initialized before bit-wise
or'ing in values
Colin King <colin.king@...onical.com> wrote:
> Currently the structure ts is not inititalized and ts.flags contains
> garbage values from the stack. This is being passed into function
> ath11k_dp_tx_status_parse that bit-wise or'ing in settings into the
> ts.flags field. To avoid flags (and other fields) from containing
> garbage, initialize the structure to zero before use.
>
> Addresses-Coverity: ("Uninitialized scalar variable)"
> Fixes: d5c65159f289 ("ath11k: driver for Qualcomm IEEE 802.11ax devices")
> Signed-off-by: Colin Ian King <colin.king@...onical.com>
> Signed-off-by: Kalle Valo <kvalo@...eaurora.org>
Patch applied to ath-next branch of ath.git, thanks.
eefca584140b ath11k: ensure ts.flags is initialized before bit-wise or'ing in values
--
https://patchwork.kernel.org/patch/11306545/
https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches
Powered by blists - more mailing lists