Skip to contentSkip to conversation

kselftest: alsa: fix spelling mistake "desciptor" -> "descriptor"

PATCH Applied Colin Ian King 3 participants 3 messages Feb 7, 2022 – Feb 8, 2022

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

PATCH 1/1 kselftest: alsa: fix spelling mistake "desciptor" -> "descriptor"

There are some spelling mistakes in some ksft messages. Fix them.

---
 tools/testing/selftests/alsa/mixer-test.c | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
tools/testing/selftests/alsa/mixer-test.c +3 -3
index d0b788b8d287..eb2213540fe3 100644
@@ -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;
 		}
Signature · 1 line
2.34.1
maintainer Reviewed-by on v1 1/1
#1 lore raw
Quoted 7 lines · Colin Ian King

There are some spelling mistakes in some ksft messages. Fix them.

---
  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:

thanks,
-- Shuah