From: Takashi Iwai <tiwai@suse.de>
To: Peter Ujfalusi <peter.ujfalusi@linux.intel.com>
Cc: alsa-devel@alsa-project.org, tiwai@suse.com,
jaska.uimonen@linux.intel.com,
pierre-louis.bossart@linux.intel.com
Subject: Re: [PATCH] ALSA: hda: intel-nhlt: Correct the handling of fmt_config flexible array
Date: Tue, 23 Aug 2022 17:01:33 +0200 [thread overview]
Message-ID: <87o7wbovg2.wl-tiwai@suse.de> (raw)
In-Reply-To: <20220823122405.18464-1-peter.ujfalusi@linux.intel.com>
On Tue, 23 Aug 2022 14:24:05 +0200,
Peter Ujfalusi wrote:
>
> The struct nhlt_format's fmt_config is a flexible array, it must not be
> used as normal array.
> When moving to the next nhlt_fmt_cfg we need to take into account the data
> behind the ->config.caps (indicated by ->config.size).
>
> Fixes: a864e8f159b13 ("ALSA: hda: intel-nhlt: verify config type")
> Signed-off-by: Peter Ujfalusi <peter.ujfalusi@linux.intel.com>
> Reviewed-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
> Reviewed-by: Jaska Uimonen <jaska.uimonen@linux.intel.com>
Thanks, applied now.
Takashi
prev parent reply other threads:[~2022-08-23 15:02 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-08-23 12:24 [PATCH] ALSA: hda: intel-nhlt: Correct the handling of fmt_config flexible array Peter Ujfalusi
2022-08-23 15:01 ` Takashi Iwai [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=87o7wbovg2.wl-tiwai@suse.de \
--to=tiwai@suse.de \
--cc=alsa-devel@alsa-project.org \
--cc=jaska.uimonen@linux.intel.com \
--cc=peter.ujfalusi@linux.intel.com \
--cc=pierre-louis.bossart@linux.intel.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