mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: VISHNUVARDHAN RAO RAVULAPATI <quic_visr@quicinc.com>
To: Srinivas Kandagatla <srinivas.kandagatla@linaro.org>
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 23:02:46 +0530	[thread overview]
Message-ID: <79d4f0ad-c014-6b9f-4c0e-c71163457b30@quicinc.com> (raw)
In-Reply-To: <73ea5ba2-18c8-abd8-3896-eb9656201f53@linaro.org>


On 3/3/2023 7:45 PM, Srinivas Kandagatla wrote:
>
>
> 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
Will Remove that..Thanks for review

  reply	other threads:[~2023-03-03 17:33 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
2023-03-03 17:32   ` VISHNUVARDHAN RAO RAVULAPATI [this message]
  -- 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=79d4f0ad-c014-6b9f-4c0e-c71163457b30@quicinc.com \
    --to=quic_visr@quicinc.com \
    --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=srinivas.kandagatla@linaro.org \
    --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®