[PATCH]][next] selftests: nettest: fix spelling mistake: "potocol" -> "protocol"

Subsystems: kernel selftest framework, networking [general], the rest

STALE2592d

3 messages, 3 authors, 2019-08-05 · open the first message on its own page

[PATCH]][next] selftests: nettest: fix spelling mistake: "potocol" -> "protocol"

From: Colin King <hidden>
Date: 2019-08-05 10:52:17

From: Colin Ian King <redacted>

There is a spelling mistake in an error messgae. Fix it.

Signed-off-by: Colin Ian King <redacted>
---
 tools/testing/selftests/net/nettest.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/tools/testing/selftests/net/nettest.c b/tools/testing/selftests/net/nettest.c
index 9278f8460d75..83515e5ea4dc 100644
--- a/tools/testing/selftests/net/nettest.c
+++ b/tools/testing/selftests/net/nettest.c
@@ -1627,7 +1627,7 @@ int main(int argc, char *argv[])
 				args.protocol = pe->p_proto;
 			} else {
 				if (str_to_uint(optarg, 0, 0xffff, &tmp) != 0) {
-					fprintf(stderr, "Invalid potocol\n");
+					fprintf(stderr, "Invalid protocol\n");
 					return 1;
 				}
 				args.protocol = tmp;
-- 
2.20.1

Re: [PATCH]][next] selftests: nettest: fix spelling mistake: "potocol" -> "protocol"

From: shuah <shuah@kernel.org>
Date: 2019-08-05 15:04:36

On 8/5/19 4:52 AM, Colin King wrote:
quoted hunk
From: Colin Ian King <redacted>

There is a spelling mistake in an error messgae. Fix it.

Signed-off-by: Colin Ian King <redacted>
---
  tools/testing/selftests/net/nettest.c | 2 +-
  1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/tools/testing/selftests/net/nettest.c b/tools/testing/selftests/net/nettest.c
index 9278f8460d75..83515e5ea4dc 100644
--- a/tools/testing/selftests/net/nettest.c
+++ b/tools/testing/selftests/net/nettest.c
@@ -1627,7 +1627,7 @@ int main(int argc, char *argv[])
  				args.protocol = pe->p_proto;
  			} else {
  				if (str_to_uint(optarg, 0, 0xffff, &tmp) != 0) {
-					fprintf(stderr, "Invalid potocol\n");
+					fprintf(stderr, "Invalid protocol\n");
  					return 1;
  				}
  				args.protocol = tmp;
Assuming this will go through net tree

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

thanks,
-- Shuah

Re: [PATCH]][next] selftests: nettest: fix spelling mistake: "potocol" -> "protocol"

From: David Miller <davem@davemloft.net>
Date: 2019-08-05 17:28:14

From: Colin King <redacted>
Date: Mon,  5 Aug 2019 11:52:11 +0100
From: Colin Ian King <redacted>

There is a spelling mistake in an error messgae. Fix it.

Signed-off-by: Colin Ian King <redacted>
Applied to net-next.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help