ASoC: SOF: ipc4-topology: fix wrong sizeof argument
Subsystems (3)
Peter Ujfalusi
maintainerPATCH v2 1/1 ASoC: SOF: ipc4-topology: fix wrong sizeof argument
From: Bard Liao <[email protected]>
available_fmt is a pointer.
--- sound/soc/sof/ipc4-topology.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
sound/soc/sof/ipc4-topology.c +1 -1
@@ -231,7 +231,7 @@ static int sof_ipc4_get_audio_fmt(struct snd_soc_component *scomp, ret =sof_update_ipc_object (scomp, available_fmt,SOF_AUDIO_FMT_NUM_TOKENS , swidget->tuples, - swidget->num_tuples,sizeof (available_fmt),1 ); + swidget->num_tuples,sizeof (*available_fmt),1 );if (ret) {dev_err (scomp->dev,"Failed to parse audio format token count\n" );return ret;
Signature · 1 line
2.42.0
Mark Brown
maintainerQuoted 3 lines · Peter Ujfalusi
available_fmtis a pointer.
Applied to
https://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git for-next
Thanks!
[1/1] ASoC: SOF: ipc4-topology: fix wrong sizeof argument
commit: 6ba59c008f08e84b3c87be10f3391c9735e4f833
All being well this means that it will be integrated into the linux-next tree (usually sometime in the next 24 hours) and sent to Linus during the next merge window (or sooner if it is a bug fix), however if problems are discovered then the patch may be dropped or reverted.
You may get further e-mails resulting from automated or manual testing and review of the tree, please engage with people reporting problems and send followup patches addressing any issues that are reported if needed.
If any updates are required or you are submitting further changes they should be sent as incremental updates against current git, existing patches will not be replaced.
Please add any relevant lists and maintainers to the CCs when replying to this mail.
Thanks,
Mark