* [PATCH net] selftests/net: toeplitz: fix udp option
@ 2021-12-11 19:30 Willem de Bruijn
2021-12-13 14:40 ` patchwork-bot+netdevbpf
0 siblings, 1 reply; 2+ messages in thread
From: Willem de Bruijn @ 2021-12-11 19:30 UTC (permalink / raw
To: netdev; +Cc: davem, kuba, Willem de Bruijn
From: Willem de Bruijn <willemb@google.com>
Tiny fix. Option -u ("use udp") does not take an argument.
It can cause the next argument to silently be ignored.
Fixes: 5ebfb4cc3048 ("selftests/net: toeplitz test")
Signed-off-by: Willem de Bruijn <willemb@google.com>
---
tools/testing/selftests/net/toeplitz.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/tools/testing/selftests/net/toeplitz.c b/tools/testing/selftests/net/toeplitz.c
index 710ac956bdb3..c5489341cfb8 100644
--- a/tools/testing/selftests/net/toeplitz.c
+++ b/tools/testing/selftests/net/toeplitz.c
@@ -498,7 +498,7 @@ static void parse_opts(int argc, char **argv)
bool have_toeplitz = false;
int index, c;
- while ((c = getopt_long(argc, argv, "46C:d:i:k:r:stT:u:v", long_options, &index)) != -1) {
+ while ((c = getopt_long(argc, argv, "46C:d:i:k:r:stT:uv", long_options, &index)) != -1) {
switch (c) {
case '4':
cfg_family = AF_INET;
--
2.34.1.173.g76aa8bc2d0-goog
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH net] selftests/net: toeplitz: fix udp option
2021-12-11 19:30 [PATCH net] selftests/net: toeplitz: fix udp option Willem de Bruijn
@ 2021-12-13 14:40 ` patchwork-bot+netdevbpf
0 siblings, 0 replies; 2+ messages in thread
From: patchwork-bot+netdevbpf @ 2021-12-13 14:40 UTC (permalink / raw
To: Willem de Bruijn; +Cc: netdev, davem, kuba, willemb
Hello:
This patch was applied to netdev/net.git (master)
by David S. Miller <davem@davemloft.net>:
On Sat, 11 Dec 2021 14:30:31 -0500 you wrote:
> From: Willem de Bruijn <willemb@google.com>
>
> Tiny fix. Option -u ("use udp") does not take an argument.
>
> It can cause the next argument to silently be ignored.
>
> Fixes: 5ebfb4cc3048 ("selftests/net: toeplitz test")
> Signed-off-by: Willem de Bruijn <willemb@google.com>
>
> [...]
Here is the summary with links:
- [net] selftests/net: toeplitz: fix udp option
https://git.kernel.org/netdev/net/c/a8d13611b4a7
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] 2+ messages in thread
end of thread, other threads:[~2021-12-13 14:40 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-12-11 19:30 [PATCH net] selftests/net: toeplitz: fix udp option Willem de Bruijn
2021-12-13 14:40 ` 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.