All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] ASoC: Intel: avs: Fix parsing UUIDs in topology
@ 2022-06-10 12:42 Amadeusz Sławiński
  2022-06-10 18:21 ` Mark Brown
  0 siblings, 1 reply; 2+ messages in thread
From: Amadeusz Sławiński @ 2022-06-10 12:42 UTC (permalink / raw)
  To: Cezary Rojewski, Pierre-Louis Bossart, Mark Brown
  Cc: Liam Girdwood, alsa-devel, Takashi Iwai, Amadeusz Sławiński

Use correct type for parsing UUIDs, this eliminates warning present,
when compiling with W=1.

Fixes: 34ae2cd53673 ("ASoC: Intel: avs: Add topology parsing infrastructure")
Reported-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Signed-off-by: Amadeusz Sławiński <amadeuszx.slawinski@linux.intel.com>
Reviewed-by: Cezary Rojewski <cezary.rojewski@intel.com>
---
 sound/soc/intel/avs/topology.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/sound/soc/intel/avs/topology.c b/sound/soc/intel/avs/topology.c
index 0d11cc8aab0b..6a06fe387d13 100644
--- a/sound/soc/intel/avs/topology.c
+++ b/sound/soc/intel/avs/topology.c
@@ -128,10 +128,10 @@ struct avs_tplg_token_parser {
 static int
 avs_parse_uuid_token(struct snd_soc_component *comp, void *elem, void *object, u32 offset)
 {
-	struct snd_soc_tplg_vendor_value_elem *tuple = elem;
+	struct snd_soc_tplg_vendor_uuid_elem *tuple = elem;
 	guid_t *val = (guid_t *)((u8 *)object + offset);
 
-	guid_copy((guid_t *)val, (const guid_t *)&tuple->value);
+	guid_copy((guid_t *)val, (const guid_t *)&tuple->uuid);
 
 	return 0;
 }
-- 
2.25.1


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] ASoC: Intel: avs: Fix parsing UUIDs in topology
  2022-06-10 12:42 [PATCH] ASoC: Intel: avs: Fix parsing UUIDs in topology Amadeusz Sławiński
@ 2022-06-10 18:21 ` Mark Brown
  0 siblings, 0 replies; 2+ messages in thread
From: Mark Brown @ 2022-06-10 18:21 UTC (permalink / raw)
  To: pierre-louis.bossart, cezary.rojewski, amadeuszx.slawinski
  Cc: liam.r.girdwood, alsa-devel, tiwai

On Fri, 10 Jun 2022 14:42:57 +0200, Amadeusz Sławiński wrote:
> Use correct type for parsing UUIDs, this eliminates warning present,
> when compiling with W=1.
> 
> 

Applied to

   https://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git for-next

Thanks!

[1/1] ASoC: Intel: avs: Fix parsing UUIDs in topology
      commit: 46c80e72c16adff20f61240f887c4842e80cb6ec

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2022-06-10 18:22 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-06-10 12:42 [PATCH] ASoC: Intel: avs: Fix parsing UUIDs in topology Amadeusz Sławiński
2022-06-10 18:21 ` Mark Brown

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.