* [PATCH] kselftest: alsa: fixed a print formatting warning
@ 2023-12-17 8:00 Ghanshyam Agrawal
2023-12-18 8:15 ` Takashi Iwai
0 siblings, 1 reply; 2+ messages in thread
From: Ghanshyam Agrawal @ 2023-12-17 8:00 UTC (permalink / raw)
To: perex, tiwai, broonie, shuah
Cc: Ghanshyam Agrawal, linux-sound, linux-kselftest, linux-kernel
A statement used %d print formatter where %s should have
been used. The same has been fixed in this commit.
Signed-off-by: Ghanshyam Agrawal <ghanshyam1898@gmail.com>
---
tools/testing/selftests/alsa/mixer-test.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/tools/testing/selftests/alsa/mixer-test.c b/tools/testing/selftests/alsa/mixer-test.c
index 21e482b23f50..23df154fcdd7 100644
--- a/tools/testing/selftests/alsa/mixer-test.c
+++ b/tools/testing/selftests/alsa/mixer-test.c
@@ -138,7 +138,7 @@ static void find_controls(void)
err = snd_ctl_elem_info(card_data->handle,
ctl_data->info);
if (err < 0) {
- ksft_print_msg("%s getting info for %d\n",
+ ksft_print_msg("%s getting info for %s\n",
snd_strerror(err),
ctl_data->name);
}
--
2.25.1
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] kselftest: alsa: fixed a print formatting warning
2023-12-17 8:00 [PATCH] kselftest: alsa: fixed a print formatting warning Ghanshyam Agrawal
@ 2023-12-18 8:15 ` Takashi Iwai
0 siblings, 0 replies; 2+ messages in thread
From: Takashi Iwai @ 2023-12-18 8:15 UTC (permalink / raw)
To: Ghanshyam Agrawal
Cc: perex, tiwai, broonie, shuah, linux-sound, linux-kselftest,
linux-kernel
On Sun, 17 Dec 2023 09:00:19 +0100,
Ghanshyam Agrawal wrote:
>
> A statement used %d print formatter where %s should have
> been used. The same has been fixed in this commit.
>
> Signed-off-by: Ghanshyam Agrawal <ghanshyam1898@gmail.com>
Thanks, applied now.
Takashi
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2023-12-18 8:15 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-12-17 8:00 [PATCH] kselftest: alsa: fixed a print formatting warning Ghanshyam Agrawal
2023-12-18 8:15 ` Takashi Iwai
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox