* [PATCH][next] selftests/bpf: fix spelling mistake "scoket" -> "socket"
@ 2020-08-26 8:59 ` Colin King
0 siblings, 0 replies; 7+ messages in thread
From: Colin King @ 2020-08-26 8:59 UTC (permalink / raw)
To: Shuah Khan, Alexei Starovoitov, Daniel Borkmann, Jiri Olsa,
linux-kselftest, netdev, bpf
Cc: kernel-janitors, linux-kernel
From: Colin Ian King <colin.king@canonical.com>
There is a spelling mistake an a check error message. Fix it.
Signed-off-by: Colin Ian King <colin.king@canonical.com>
---
tools/testing/selftests/bpf/prog_tests/d_path.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/tools/testing/selftests/bpf/prog_tests/d_path.c b/tools/testing/selftests/bpf/prog_tests/d_path.c
index 058765da17e6..4ce2bb799afb 100644
--- a/tools/testing/selftests/bpf/prog_tests/d_path.c
+++ b/tools/testing/selftests/bpf/prog_tests/d_path.c
@@ -38,7 +38,7 @@ static int trigger_fstat_events(pid_t pid)
return ret;
/* unmountable pseudo-filesystems */
sockfd = socket(AF_INET, SOCK_STREAM, 0);
- if (CHECK(sockfd < 0, "trigger", "scoket failed\n"))
+ if (CHECK(sockfd < 0, "trigger", "socket failed\n"))
goto out_close;
/* mountable pseudo-filesystems */
procfd = open("/proc/self/comm", O_RDONLY);
--
2.27.0
^ permalink raw reply related [flat|nested] 7+ messages in thread
* [PATCH][next] selftests/bpf: fix spelling mistake "scoket" -> "socket"
@ 2020-08-26 8:59 ` Colin King
0 siblings, 0 replies; 7+ messages in thread
From: Colin King @ 2020-08-26 8:59 UTC (permalink / raw)
To: Shuah Khan, Alexei Starovoitov, Daniel Borkmann, Jiri Olsa,
linux-kselftest, netdev, bpf
Cc: kernel-janitors, linux-kernel
From: Colin Ian King <colin.king@canonical.com>
There is a spelling mistake an a check error message. Fix it.
Signed-off-by: Colin Ian King <colin.king@canonical.com>
---
tools/testing/selftests/bpf/prog_tests/d_path.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/tools/testing/selftests/bpf/prog_tests/d_path.c b/tools/testing/selftests/bpf/prog_tests/d_path.c
index 058765da17e6..4ce2bb799afb 100644
--- a/tools/testing/selftests/bpf/prog_tests/d_path.c
+++ b/tools/testing/selftests/bpf/prog_tests/d_path.c
@@ -38,7 +38,7 @@ static int trigger_fstat_events(pid_t pid)
return ret;
/* unmountable pseudo-filesystems */
sockfd = socket(AF_INET, SOCK_STREAM, 0);
- if (CHECK(sockfd < 0, "trigger", "scoket failed\n"))
+ if (CHECK(sockfd < 0, "trigger", "socket failed\n"))
goto out_close;
/* mountable pseudo-filesystems */
procfd = open("/proc/self/comm", O_RDONLY);
--
2.27.0
^ permalink raw reply related [flat|nested] 7+ messages in thread
* Re: [PATCH][next] selftests/bpf: fix spelling mistake "scoket" -> "socket"
2020-08-26 8:59 ` Colin King
@ 2020-08-26 16:22 ` Alexei Starovoitov
-1 siblings, 0 replies; 7+ messages in thread
From: Alexei Starovoitov @ 2020-08-26 16:22 UTC (permalink / raw)
To: Colin King
Cc: Shuah Khan, Alexei Starovoitov, Daniel Borkmann, Jiri Olsa,
open list:KERNEL SELFTEST FRAMEWORK, Network Development, bpf,
kernel-janitors, LKML
On Wed, Aug 26, 2020 at 1:59 AM Colin King <colin.king@canonical.com> wrote:
>
> From: Colin Ian King <colin.king@canonical.com>
>
> There is a spelling mistake an a check error message. Fix it.
Kinda ironic that you've made a spelling mistake in the commit log
that fixes spelling in the test.
Whatever scripts you use to detect spelling errors, please use it
on your commit messages as well.
> Signed-off-by: Colin Ian King <colin.king@canonical.com>
Applied with s/an/in/ in the commit log.
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [PATCH][next] selftests/bpf: fix spelling mistake "scoket" -> "socket"
@ 2020-08-26 16:22 ` Alexei Starovoitov
0 siblings, 0 replies; 7+ messages in thread
From: Alexei Starovoitov @ 2020-08-26 16:22 UTC (permalink / raw)
To: Colin King
Cc: Shuah Khan, Alexei Starovoitov, Daniel Borkmann, Jiri Olsa,
open list:KERNEL SELFTEST FRAMEWORK, Network Development, bpf,
kernel-janitors, LKML
On Wed, Aug 26, 2020 at 1:59 AM Colin King <colin.king@canonical.com> wrote:
>
> From: Colin Ian King <colin.king@canonical.com>
>
> There is a spelling mistake an a check error message. Fix it.
Kinda ironic that you've made a spelling mistake in the commit log
that fixes spelling in the test.
Whatever scripts you use to detect spelling errors, please use it
on your commit messages as well.
> Signed-off-by: Colin Ian King <colin.king@canonical.com>
Applied with s/an/in/ in the commit log.
^ permalink raw reply [flat|nested] 7+ messages in thread
* [PATCH][next] selftests/bpf: fix spelling mistake "tranmission" -> "transmission"
2020-08-26 8:59 ` Colin King
@ 2020-12-14 22:35 ` Colin King
-1 siblings, 0 replies; 7+ messages in thread
From: Colin King @ 2020-12-14 22:35 UTC (permalink / raw)
To: Alexei Starovoitov, Daniel Borkmann, David S . Miller,
Jakub Kicinski, Jesper Dangaard Brouer, John Fastabend,
Shuah Khan, Andrii Nakryiko, netdev, bpf, linux-kselftest
Cc: kernel-janitors, linux-kernel
From: Colin Ian King <colin.king@canonical.com>
There are two spelling mistakes in output messages. Fix these.
Signed-off-by: Colin Ian King <colin.king@canonical.com>
---
tools/testing/selftests/bpf/xdpxceiver.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/tools/testing/selftests/bpf/xdpxceiver.c b/tools/testing/selftests/bpf/xdpxceiver.c
index 014dedaa4dd2..1e722ee76b1f 100644
--- a/tools/testing/selftests/bpf/xdpxceiver.c
+++ b/tools/testing/selftests/bpf/xdpxceiver.c
@@ -715,7 +715,7 @@ static void worker_pkt_dump(void)
int payload = *((uint32_t *)(pkt_buf[iter]->payload + PKT_HDR_SIZE));
if (payload == EOT) {
- ksft_print_msg("End-of-tranmission frame received\n");
+ ksft_print_msg("End-of-transmission frame received\n");
fprintf(stdout, "---------------------------------------\n");
break;
}
@@ -747,7 +747,7 @@ static void worker_pkt_validate(void)
}
if (payloadseqnum == EOT) {
- ksft_print_msg("End-of-tranmission frame received: PASS\n");
+ ksft_print_msg("End-of-transmission frame received: PASS\n");
sigvar = 1;
break;
}
--
2.29.2
^ permalink raw reply related [flat|nested] 7+ messages in thread
* [PATCH][next] selftests/bpf: fix spelling mistake "tranmission" -> "transmission"
@ 2020-12-14 22:35 ` Colin King
0 siblings, 0 replies; 7+ messages in thread
From: Colin King @ 2020-12-14 22:35 UTC (permalink / raw)
To: Alexei Starovoitov, Daniel Borkmann, David S . Miller,
Jakub Kicinski, Jesper Dangaard Brouer, John Fastabend,
Shuah Khan, Andrii Nakryiko, netdev, bpf, linux-kselftest
Cc: kernel-janitors, linux-kernel
From: Colin Ian King <colin.king@canonical.com>
There are two spelling mistakes in output messages. Fix these.
Signed-off-by: Colin Ian King <colin.king@canonical.com>
---
tools/testing/selftests/bpf/xdpxceiver.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/tools/testing/selftests/bpf/xdpxceiver.c b/tools/testing/selftests/bpf/xdpxceiver.c
index 014dedaa4dd2..1e722ee76b1f 100644
--- a/tools/testing/selftests/bpf/xdpxceiver.c
+++ b/tools/testing/selftests/bpf/xdpxceiver.c
@@ -715,7 +715,7 @@ static void worker_pkt_dump(void)
int payload = *((uint32_t *)(pkt_buf[iter]->payload + PKT_HDR_SIZE));
if (payload = EOT) {
- ksft_print_msg("End-of-tranmission frame received\n");
+ ksft_print_msg("End-of-transmission frame received\n");
fprintf(stdout, "---------------------------------------\n");
break;
}
@@ -747,7 +747,7 @@ static void worker_pkt_validate(void)
}
if (payloadseqnum = EOT) {
- ksft_print_msg("End-of-tranmission frame received: PASS\n");
+ ksft_print_msg("End-of-transmission frame received: PASS\n");
sigvar = 1;
break;
}
--
2.29.2
^ permalink raw reply related [flat|nested] 7+ messages in thread
* Re: [PATCH][next] selftests/bpf: fix spelling mistake "tranmission" -> "transmission"
2020-12-14 22:35 ` Colin King
(?)
@ 2020-12-18 15:20 ` patchwork-bot+netdevbpf
-1 siblings, 0 replies; 7+ messages in thread
From: patchwork-bot+netdevbpf @ 2020-12-18 15:20 UTC (permalink / raw)
To: Colin King
Cc: ast, daniel, davem, kuba, hawk, john.fastabend, shuah, andrii,
netdev, bpf, linux-kselftest, kernel-janitors, linux-kernel
Hello:
This patch was applied to bpf/bpf.git (refs/heads/master):
On Mon, 14 Dec 2020 22:35:39 +0000 you wrote:
> From: Colin Ian King <colin.king@canonical.com>
>
> There are two spelling mistakes in output messages. Fix these.
>
> Signed-off-by: Colin Ian King <colin.king@canonical.com>
> ---
> tools/testing/selftests/bpf/xdpxceiver.c | 4 ++--
> 1 file changed, 2 insertions(+), 2 deletions(-)
Here is the summary with links:
- [next] selftests/bpf: fix spelling mistake "tranmission" -> "transmission"
https://git.kernel.org/bpf/bpf/c/e79bb299ccad
You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html
^ permalink raw reply [flat|nested] 7+ messages in thread
end of thread, other threads:[~2020-12-18 15:20 UTC | newest]
Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-08-26 8:59 [PATCH][next] selftests/bpf: fix spelling mistake "scoket" -> "socket" Colin King
2020-08-26 8:59 ` Colin King
2020-08-26 16:22 ` Alexei Starovoitov
2020-08-26 16:22 ` Alexei Starovoitov
2020-12-14 22:35 [PATCH][next] selftests/bpf: fix spelling mistake "tranmission" -> "transmission" Colin King
2020-12-14 22:35 ` Colin King
2020-12-18 15:20 ` patchwork-bot+netdevbpf
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.