From: Srinivas Kandagatla <srinivas.kandagatla@linaro.org>
To: Ravulapati Vishnu Vardhan Rao <quic_visr@quicinc.com>
Cc: Banajit Goswami <bgoswami@quicinc.com>,
Liam Girdwood <lgirdwood@gmail.com>,
Mark Brown <broonie@kernel.org>, Jaroslav Kysela <perex@perex.cz>,
Takashi Iwai <tiwai@suse.com>,
"moderated list:QCOM AUDIO (ASoC) DRIVERS"
<alsa-devel@alsa-project.org>,
open list <linux-kernel@vger.kernel.org>
Subject: Re: [PATCH] ASoC: codecs: tx-macro: Fix for KASAN: slab-out-of-bounds
Date: Fri, 3 Mar 2023 14:15:24 +0000 [thread overview]
Message-ID: <73ea5ba2-18c8-abd8-3896-eb9656201f53@linaro.org> (raw)
In-Reply-To: <20230303125717.29196-1-quic_visr@quicinc.com>
On 03/03/2023 12:57, Ravulapati Vishnu Vardhan Rao wrote:
> @@ -1064,9 +1064,10 @@ static int tx_macro_hw_params(struct snd_pcm_substream *substream,
> struct snd_soc_dai *dai)
> {
> struct snd_soc_component *component = dai->component;
> - u32 decimator, sample_rate;
> + u32 sample_rate;
> int tx_fs_rate;
> struct tx_macro *tx = snd_soc_component_get_drvdata(component);
> + u8 decimator = 0;
Minor nit, any reason why decimator is intialized as part of this change.
--srini
next prev parent reply other threads:[~2023-03-03 14:15 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-03-03 12:57 Ravulapati Vishnu Vardhan Rao
2023-03-03 14:07 ` Mark Brown
2023-03-03 14:15 ` Srinivas Kandagatla [this message]
2023-03-03 17:32 ` VISHNUVARDHAN RAO RAVULAPATI
-- strict thread matches above, loose matches on Subject: below --
2023-03-04 8:07 Ravulapati Vishnu Vardhan Rao
2023-03-06 12:45 ` Mark Brown
2023-03-03 12:12 Ravulapati Vishnu Vardhan Rao
2023-03-03 12:41 ` Mark Brown
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=73ea5ba2-18c8-abd8-3896-eb9656201f53@linaro.org \
--to=srinivas.kandagatla@linaro.org \
--cc=alsa-devel@alsa-project.org \
--cc=bgoswami@quicinc.com \
--cc=broonie@kernel.org \
--cc=lgirdwood@gmail.com \
--cc=linux-kernel@vger.kernel.org \
--cc=perex@perex.cz \
--cc=quic_visr@quicinc.com \
--cc=tiwai@suse.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®