bpf.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH][next] selftests/bpf: fix spelling mistake "scoket" -> "socket"
@ 2020-08-26  8:59 Colin King
  2020-08-26 16:22 ` Alexei Starovoitov
  0 siblings, 1 reply; 2+ 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] 2+ messages in thread

* Re: [PATCH][next] selftests/bpf: fix spelling mistake "scoket" -> "socket"
  2020-08-26  8:59 [PATCH][next] selftests/bpf: fix spelling mistake "scoket" -> "socket" Colin King
@ 2020-08-26 16:22 ` Alexei Starovoitov
  0 siblings, 0 replies; 2+ 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] 2+ messages in thread

end of thread, other threads:[~2020-08-26 16:22 UTC | newest]

Thread overview: 2+ 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 16:22 ` Alexei Starovoitov

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).