From 7edda92d8d7c06b6b71ce3ecd2ba4244ca5d5572 Mon Sep 17 00:00:00 2001 From: Chaitanya Tata Date: Mon, 16 Dec 2024 23:46:37 +0530 Subject: [PATCH] treewide: Fix typo Found by compliance check. Signed-off-by: Chaitanya Tata --- samples/bluetooth/throughput/src/cmds.c | 2 +- samples/cellular/modem_shell/src/link/link_settings.c | 2 +- samples/peripheral/radio_test/src/radio_cmd.c | 10 +++++----- samples/wifi/radio_test/single_domain/src/radio_cmd.c | 10 +++++----- 4 files changed, 12 insertions(+), 12 deletions(-) diff --git a/samples/bluetooth/throughput/src/cmds.c b/samples/bluetooth/throughput/src/cmds.c index c95d285154fe..d4f4e52359c6 100644 --- a/samples/bluetooth/throughput/src/cmds.c +++ b/samples/bluetooth/throughput/src/cmds.c @@ -76,7 +76,7 @@ static int default_cmd(const struct shell *shell, size_t argc, } if (argc == 2) { - shell_error(shell, "Uknown argument: %s", argv[1]); + shell_error(shell, "Unknown argument: %s", argv[1]); return -EINVAL; } diff --git a/samples/cellular/modem_shell/src/link/link_settings.c b/samples/cellular/modem_shell/src/link/link_settings.c index faddf1b13426..4498ac756b92 100644 --- a/samples/cellular/modem_shell/src/link/link_settings.c +++ b/samples/cellular/modem_shell/src/link/link_settings.c @@ -421,7 +421,7 @@ int link_sett_save_defcontauth_prot(int auth_prot) err = link_shell_pdn_auth_prot_to_pdn_lib_method_map(auth_prot, &method); if (err) { - mosh_error("Uknown auth protocol %d", auth_prot); + mosh_error("Unknown auth protocol %d", auth_prot); return -EINVAL; } diff --git a/samples/peripheral/radio_test/src/radio_cmd.c b/samples/peripheral/radio_test/src/radio_cmd.c index cd2659a4a23a..8b73a26e1aaa 100644 --- a/samples/peripheral/radio_test/src/radio_cmd.c +++ b/samples/peripheral/radio_test/src/radio_cmd.c @@ -207,7 +207,7 @@ static int cmd_data_rate_set(const struct shell *shell, size_t argc, } if (argc == 2) { - shell_error(shell, "Uknown argument: %s", argv[1]); + shell_error(shell, "Unknown argument: %s", argv[1]); return -EINVAL; } @@ -418,7 +418,7 @@ static int cmd_output_power_set(const struct shell *shell, size_t argc, } if (argc == 2) { - shell_error(shell, "Uknown argument: %s", argv[1]); + shell_error(shell, "Unknown argument: %s", argv[1]); return -EINVAL; } @@ -439,7 +439,7 @@ static int cmd_transmit_pattern_set(const struct shell *shell, size_t argc, } if (argc == 2) { - shell_error(shell, "Uknown argument: %s.", argv[1]); + shell_error(shell, "Unknown argument: %s.", argv[1]); return -EINVAL; } @@ -1173,7 +1173,7 @@ static int cmd_fem(const struct shell *shell, size_t argc, char **argv) } if (argc == 2) { - shell_error(shell, "Uknown argument: %s.", argv[1]); + shell_error(shell, "Unknown argument: %s.", argv[1]); return -EINVAL; } @@ -1220,7 +1220,7 @@ static int cmd_fem_antenna_select(const struct shell *shell, size_t argc, } if (argc == 2) { - shell_error(shell, "Uknown argument: %s.", argv[1]); + shell_error(shell, "Unknown argument: %s.", argv[1]); return -EINVAL; } diff --git a/samples/wifi/radio_test/single_domain/src/radio_cmd.c b/samples/wifi/radio_test/single_domain/src/radio_cmd.c index 07eeb32ddf14..104fecff0850 100644 --- a/samples/wifi/radio_test/single_domain/src/radio_cmd.c +++ b/samples/wifi/radio_test/single_domain/src/radio_cmd.c @@ -207,7 +207,7 @@ static int cmd_data_rate_set(const struct shell *shell, size_t argc, } if (argc == 2) { - shell_error(shell, "Uknown argument: %s", argv[1]); + shell_error(shell, "Unknown argument: %s", argv[1]); return -EINVAL; } @@ -418,7 +418,7 @@ static int cmd_output_power_set(const struct shell *shell, size_t argc, } if (argc == 2) { - shell_error(shell, "Uknown argument: %s", argv[1]); + shell_error(shell, "Unknown argument: %s", argv[1]); return -EINVAL; } @@ -439,7 +439,7 @@ static int cmd_transmit_pattern_set(const struct shell *shell, size_t argc, } if (argc == 2) { - shell_error(shell, "Uknown argument: %s.", argv[1]); + shell_error(shell, "Unknown argument: %s.", argv[1]); return -EINVAL; } @@ -1173,7 +1173,7 @@ static int cmd_fem(const struct shell *shell, size_t argc, char **argv) } if (argc == 2) { - shell_error(shell, "Uknown argument: %s.", argv[1]); + shell_error(shell, "Unknown argument: %s.", argv[1]); return -EINVAL; } @@ -1220,7 +1220,7 @@ static int cmd_fem_antenna_select(const struct shell *shell, size_t argc, } if (argc == 2) { - shell_error(shell, "Uknown argument: %s.", argv[1]); + shell_error(shell, "Unknown argument: %s.", argv[1]); return -EINVAL; }