Skip to contentSkip to conversation

ASoC: Intel: avs: Fix i2s_test card name initialization

PATCH In review Cezary Rojewski 2 participants 2 messages Jul 6, 2022

Subsystems (3)
lore
Share & tools
lore

Cezary Rojewski

author maintainer
#0 lore raw

PATCH 1/1 ASoC: Intel: avs: Fix i2s_test card name initialization

Update printf formatting as 'ssp_port' argument is of type 'int', not 'long int'.

Fixes e39acc4cfd92 ("ASoC: Intel: avs: Add I2S-test machine board")
---
 sound/soc/intel/avs/boards/i2s_test.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
sound/soc/intel/avs/boards/i2s_test.c +1 -1
index 461b651cd331..8f0fd87bc866 100644
@@ -127,7 +127,7 @@ static int avs_i2s_test_probe(struct platform_device *pdev)
 	if (!card)
 		return -ENOMEM;
 
-	card->name = devm_kasprintf(dev, GFP_KERNEL, "ssp%ld-loopback", ssp_port);
+	card->name = devm_kasprintf(dev, GFP_KERNEL, "ssp%d-loopback", ssp_port);
 	if (!card->name)
 		return -ENOMEM;
 
Signature · 1 line
2.25.1
maintainer
#1 lore raw
Quoted 4 lines · Cezary Rojewski

Update printf formatting as 'ssp_port' argument is of type 'int', not 'long int'.

Applied to

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

Thanks!

[1/1] ASoC: Intel: avs: Fix i2s_test card name initialization

      commit: f1fd46e068f52893608469df98d4608672e3e45f

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