* [PATCH][next] tools: ynl: remove extraneous ; after statements
@ 2024-08-02 11:34 Colin Ian King
2024-08-02 14:45 ` Donald Hunter
2024-08-05 23:54 ` patchwork-bot+netdevbpf
0 siblings, 2 replies; 3+ messages in thread
From: Colin Ian King @ 2024-08-02 11:34 UTC (permalink / raw)
To: Donald Hunter, Jakub Kicinski, David S . Miller, Eric Dumazet,
Paolo Abeni, Nicolas Dichtel, netdev
Cc: kernel-janitors, linux-kernel
There are a couple of statements with two following semicolons,
replace these with just one semicolon.
Signed-off-by: Colin Ian King <colin.i.king@gmail.com>
---
tools/net/ynl/lib/ynl.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/tools/net/ynl/lib/ynl.c b/tools/net/ynl/lib/ynl.c
index fcb18a5a6d70..e16cef160bc2 100644
--- a/tools/net/ynl/lib/ynl.c
+++ b/tools/net/ynl/lib/ynl.c
@@ -696,14 +696,14 @@ ynl_sock_create(const struct ynl_family *yf, struct ynl_error *yse)
addr.nl_family = AF_NETLINK;
if (bind(ys->socket, (struct sockaddr *)&addr, sizeof(addr)) < 0) {
__perr(yse, "unable to bind to a socket address");
- goto err_close_sock;;
+ goto err_close_sock;
}
memset(&addr, 0, sizeof(addr));
addrlen = sizeof(addr);
if (getsockname(ys->socket, (struct sockaddr *)&addr, &addrlen) < 0) {
__perr(yse, "unable to read socket address");
- goto err_close_sock;;
+ goto err_close_sock;
}
ys->portid = addr.nl_pid;
ys->seq = random();
--
2.39.2
^ permalink raw reply related [flat|nested] 3+ messages in thread* Re: [PATCH][next] tools: ynl: remove extraneous ; after statements
2024-08-02 11:34 [PATCH][next] tools: ynl: remove extraneous ; after statements Colin Ian King
@ 2024-08-02 14:45 ` Donald Hunter
2024-08-05 23:54 ` patchwork-bot+netdevbpf
1 sibling, 0 replies; 3+ messages in thread
From: Donald Hunter @ 2024-08-02 14:45 UTC (permalink / raw)
To: Colin Ian King
Cc: Jakub Kicinski, David S . Miller, Eric Dumazet, Paolo Abeni,
Nicolas Dichtel, netdev, kernel-janitors, linux-kernel
Colin Ian King <colin.i.king@gmail.com> writes:
> There are a couple of statements with two following semicolons,
> replace these with just one semicolon.
>
> Signed-off-by: Colin Ian King <colin.i.king@gmail.com>
Reviewed-by: Donald Hunter <donald.hunter@gmail.com>
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH][next] tools: ynl: remove extraneous ; after statements
2024-08-02 11:34 [PATCH][next] tools: ynl: remove extraneous ; after statements Colin Ian King
2024-08-02 14:45 ` Donald Hunter
@ 2024-08-05 23:54 ` patchwork-bot+netdevbpf
1 sibling, 0 replies; 3+ messages in thread
From: patchwork-bot+netdevbpf @ 2024-08-05 23:54 UTC (permalink / raw)
To: Colin Ian King
Cc: donald.hunter, kuba, davem, edumazet, pabeni, nicolas.dichtel,
netdev, kernel-janitors, linux-kernel
Hello:
This patch was applied to netdev/net-next.git (main)
by Jakub Kicinski <kuba@kernel.org>:
On Fri, 2 Aug 2024 12:34:36 +0100 you wrote:
> There are a couple of statements with two following semicolons,
> replace these with just one semicolon.
>
> Signed-off-by: Colin Ian King <colin.i.king@gmail.com>
> ---
> tools/net/ynl/lib/ynl.c | 4 ++--
> 1 file changed, 2 insertions(+), 2 deletions(-)
Here is the summary with links:
- [next] tools: ynl: remove extraneous ; after statements
https://git.kernel.org/netdev/net-next/c/e8fc78eb658a
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] 3+ messages in thread
end of thread, other threads:[~2024-08-05 23:54 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-08-02 11:34 [PATCH][next] tools: ynl: remove extraneous ; after statements Colin Ian King
2024-08-02 14:45 ` Donald Hunter
2024-08-05 23:54 ` patchwork-bot+netdevbpf
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).