diff mbox series

[next] kselftest: alsa: fix spelling mistake "desciptor" -> "descriptor"

Message ID 20220207092235.240284-1-colin.i.king@gmail.com (mailing list archive)
State New, archived
Headers show
Series [next] kselftest: alsa: fix spelling mistake "desciptor" -> "descriptor" | expand

Commit Message

Colin Ian King Feb. 7, 2022, 9:22 a.m. UTC
There are some spelling mistakes in some ksft messages. Fix them.

Signed-off-by: Colin Ian King <colin.i.king@gmail.com>
---
 tools/testing/selftests/alsa/mixer-test.c | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

Comments

Shuah Khan Feb. 7, 2022, 6:32 p.m. UTC | #1
On 2/7/22 2:22 AM, Colin Ian King wrote:
> There are some spelling mistakes in some ksft messages. Fix them.
> 
> Signed-off-by: Colin Ian King <colin.i.king@gmail.com>
> ---
>   tools/testing/selftests/alsa/mixer-test.c | 6 +++---
>   1 file changed, 3 insertions(+), 3 deletions(-)
> 

Looks good to me. If it goes through sounds tree:

Reviewed-by: Shuah Khan <skhan@linuxfoundation.org>

thanks,
-- Shuah
Takashi Iwai Feb. 8, 2022, 7:26 a.m. UTC | #2
On Mon, 07 Feb 2022 10:22:35 +0100,
Colin Ian King wrote:
> 
> There are some spelling mistakes in some ksft messages. Fix them.
> 
> Signed-off-by: Colin Ian King <colin.i.king@gmail.com>

Thanks, applied now to for-next branch.


Takashi
diff mbox series

Patch

diff --git a/tools/testing/selftests/alsa/mixer-test.c b/tools/testing/selftests/alsa/mixer-test.c
index d0b788b8d287..eb2213540fe3 100644
--- a/tools/testing/selftests/alsa/mixer-test.c
+++ b/tools/testing/selftests/alsa/mixer-test.c
@@ -198,7 +198,7 @@  static void find_controls(void)
 
 		err = snd_ctl_poll_descriptors_count(card_data->handle);
 		if (err != 1) {
-			ksft_exit_fail_msg("Unexpected desciptor count %d for card %d\n",
+			ksft_exit_fail_msg("Unexpected descriptor count %d for card %d\n",
 					   err, card);
 		}
 
@@ -248,12 +248,12 @@  static int wait_for_event(struct ctl_data *ctl, int timeout)
 						       &(ctl->card->pollfd),
 						       1, &revents);
 		if (err < 0) {
-			ksft_print_msg("snd_ctl_poll_desciptors_revents() failed for %s: %d\n",
+			ksft_print_msg("snd_ctl_poll_descriptors_revents() failed for %s: %d\n",
 				       ctl->name, err);
 			return err;
 		}
 		if (revents & POLLERR) {
-			ksft_print_msg("snd_ctl_poll_desciptors_revents() reported POLLERR for %s\n",
+			ksft_print_msg("snd_ctl_poll_descriptors_revents() reported POLLERR for %s\n",
 				       ctl->name);
 			return -1;
 		}