From: Kalle Valo <kvalo@codeaurora.org>
To: Denis Efremov <efremov@linux.com>
Cc: unlisted-recipients:; (no To-header on input) Denis Efremov
<efremov@linux.com>,
ath9k-devel@qca.qualcomm.com, linux-wireless@vger.kernel.org,
netdev@vger.kernel.org, linux-kernel@vger.kernel.org,
Rajkumar Manoharan <rmanohar@qca.qualcomm.com>,
"John W . Linville" <linville@tuxdriver.com>,
"David S. Miller" <davem@davemloft.net>,
stable@vger.kernel.org
Subject: Re: [PATCH] ath9k_hw: fix uninitialized variable data
Date: Tue, 1 Oct 2019 11:19:12 +0000 (UTC) [thread overview]
Message-ID: <20191001111912.A75D36014B@smtp.codeaurora.org> (raw)
In-Reply-To: <20190926225604.9342-1-efremov@linux.com>
Denis Efremov <efremov@linux.com> wrote:
> Currently, data variable in ar9003_hw_thermo_cal_apply() could be
> uninitialized if ar9300_otp_read_word() will fail to read the value.
> Initialize data variable with 0 to prevent an undefined behavior. This
> will be enough to handle error case when ar9300_otp_read_word() fails.
>
> Fixes: 80fe43f2bbd5 ("ath9k_hw: Read and configure thermocal for AR9462")
> Cc: Rajkumar Manoharan <rmanohar@qca.qualcomm.com>
> Cc: John W. Linville <linville@tuxdriver.com>
> Cc: Kalle Valo <kvalo@codeaurora.org>
> Cc: "David S. Miller" <davem@davemloft.net>
> Cc: stable@vger.kernel.org
> Signed-off-by: Denis Efremov <efremov@linux.com>
> Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
Patch applied to ath-next branch of ath.git, thanks.
80e84f36412e ath9k_hw: fix uninitialized variable data
--
https://patchwork.kernel.org/patch/11163437/
https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches
prev parent reply other threads:[~2019-10-01 11:19 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-09-26 22:56 [PATCH] ath9k_hw: fix uninitialized variable data Denis Efremov
2019-10-01 11:19 ` Kalle Valo [this message]
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=20191001111912.A75D36014B@smtp.codeaurora.org \
--to=kvalo@codeaurora.org \
--cc=efremov@linux.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.