alsa-devel.alsa-project.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] ASoC: Intel: avs: Fix i2s_test card name initialization
@ 2022-07-06  6:29 Cezary Rojewski
  2022-07-06 14:09 ` Mark Brown
  0 siblings, 1 reply; 2+ messages in thread
From: Cezary Rojewski @ 2022-07-06  6:29 UTC (permalink / raw)
  To: alsa-devel, broonie
  Cc: sfr, Cezary Rojewski, kernel test robot, linux-kernel,
	pierre-louis.bossart, tiwai, hdegoede, amadeuszx.slawinski,
	lukas.bulwahn

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

Fixes: e39acc4cfd92 ("ASoC: Intel: avs: Add I2S-test machine board")
Reported-by: kernel test robot <lkp@intel.com>
Signed-off-by: Cezary Rojewski <cezary.rojewski@intel.com>
---
 sound/soc/intel/avs/boards/i2s_test.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sound/soc/intel/avs/boards/i2s_test.c b/sound/soc/intel/avs/boards/i2s_test.c
index 461b651cd331..8f0fd87bc866 100644
--- a/sound/soc/intel/avs/boards/i2s_test.c
+++ b/sound/soc/intel/avs/boards/i2s_test.c
@@ -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;
 
-- 
2.25.1


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

* Re: [PATCH] ASoC: Intel: avs: Fix i2s_test card name initialization
  2022-07-06  6:29 [PATCH] ASoC: Intel: avs: Fix i2s_test card name initialization Cezary Rojewski
@ 2022-07-06 14:09 ` Mark Brown
  0 siblings, 0 replies; 2+ messages in thread
From: Mark Brown @ 2022-07-06 14:09 UTC (permalink / raw)
  To: alsa-devel, cezary.rojewski
  Cc: sfr, lkp, linux-kernel, tiwai, pierre-louis.bossart, hdegoede,
	amadeuszx.slawinski, lukas.bulwahn

On Wed, 6 Jul 2022 08:29:52 +0200, Cezary Rojewski wrote:
> 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

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

end of thread, other threads:[~2022-07-06 14:11 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-07-06  6:29 [PATCH] ASoC: Intel: avs: Fix i2s_test card name initialization Cezary Rojewski
2022-07-06 14:09 ` Mark Brown

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).