Skip to contentSkip to conversation

ASoC: soc.h: fixup for_each_card_links() macro

PATCH In review Kuninori Morimoto 2 participants 2 messages Jun 19, 2019

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 ASoC: soc.h: fixup for_each_card_links() macro

From: Kuninori Morimoto <[email protected]>

Macro is using "link", not "dai_link"

---
 include/sound/soc.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
include/sound/soc.h +1 -1
index 9538f50..1094cd8 100644
@@ -1095,7 +1095,7 @@ struct snd_soc_card {
 	     (i)++)
 
 #define for_each_card_links(card, link)				\
-	list_for_each_entry(dai_link, &(card)->dai_link_list, list)
+	list_for_each_entry(link, &(card)->dai_link_list, list)
 #define for_each_card_links_safe(card, link, _link)			\
 	list_for_each_entry_safe(link, _link, &(card)->dai_link_list, list)
 
Signature · 1 line
2.7.4
maintainer
#1 lore raw

Applied "ASoC: soc.h: fixup for_each_card_links() macro" to the asoc tree

The patch

ASoC: soc.h: fixup for_each_card_links() macro

has been applied to the asoc tree at

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

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

Quoted 1 line

From 5f174cf75a8cb14d50c1cecfb3884ae82f754058 Mon Sep 17 00:00:00 2001

From: Kuninori Morimoto <[email protected]>
Date: Wed, 19 Jun 2019 10:27:52 +0900
Subject: [PATCH] ASoC: soc.h: fixup for_each_card_links() macro

Macro is using "link", not "dai_link"

---
 include/sound/soc.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
include/sound/soc.h +1 -1
index 055e6d035e04..80c1ca3a62c7 100644
@@ -1230,7 +1230,7 @@ struct snd_soc_card {
 	     (i)++)
 
 #define for_each_card_links(card, link)				\
-	list_for_each_entry(dai_link, &(card)->dai_link_list, list)
+	list_for_each_entry(link, &(card)->dai_link_list, list)
 #define for_each_card_links_safe(card, link, _link)			\
 	list_for_each_entry_safe(link, _link, &(card)->dai_link_list, list)
 
Signature · 1 line
2.20.1