[PATCH] vsock/test: Remove redundant semicolons

Subsystems: the rest, vm sockets (af_vsock)

STALE339d

4 messages, 3 authors, 2025-08-27 · open the first message on its own page

[PATCH] vsock/test: Remove redundant semicolons

From: Liao Yuanhong <hidden>
Date: 2025-08-12 04:02:05

Remove unnecessary semicolons.

Fixes: 86814d8ffd55f ("vsock/test: verify socket options after setting them")
Signed-off-by: Liao Yuanhong <redacted>
---
 tools/testing/vsock/util.c | 1 -
 1 file changed, 1 deletion(-)
diff --git a/tools/testing/vsock/util.c b/tools/testing/vsock/util.c
index 7b861a8e997a..d843643ced6b 100644
--- a/tools/testing/vsock/util.c
+++ b/tools/testing/vsock/util.c
@@ -756,7 +756,6 @@ void setsockopt_ull_check(int fd, int level, int optname,
 fail:
 	fprintf(stderr, "%s  val %llu\n", errmsg, val);
 	exit(EXIT_FAILURE);
-;
 }
 
 /* Set "int" socket option and check that it's indeed set */
-- 
2.34.1

Re: [PATCH] vsock/test: Remove redundant semicolons

From: Joe Damato <hidden>
Date: 2025-08-12 17:46:00

On Tue, Aug 12, 2025 at 12:01:15PM +0800, Liao Yuanhong wrote:
quoted hunk
Remove unnecessary semicolons.

Fixes: 86814d8ffd55f ("vsock/test: verify socket options after setting them")
Signed-off-by: Liao Yuanhong <redacted>
---
 tools/testing/vsock/util.c | 1 -
 1 file changed, 1 deletion(-)
diff --git a/tools/testing/vsock/util.c b/tools/testing/vsock/util.c
index 7b861a8e997a..d843643ced6b 100644
--- a/tools/testing/vsock/util.c
+++ b/tools/testing/vsock/util.c
@@ -756,7 +756,6 @@ void setsockopt_ull_check(int fd, int level, int optname,
 fail:
 	fprintf(stderr, "%s  val %llu\n", errmsg, val);
 	exit(EXIT_FAILURE);
-;
 }
This isn't a fixes since it doesn't fix a bug; it's cleanup so I'd probably
target net-next and drop the fixes tag.

Re: [PATCH] vsock/test: Remove redundant semicolons

From: Liao Yuanhong <hidden>
Date: 2025-08-13 06:57:06

On 8/13/2025 1:45 AM, Joe Damato wrote:
[You don't often get email from joe@dama.to. Learn why this is important at https://aka.ms/LearnAboutSenderIdentification ]

On Tue, Aug 12, 2025 at 12:01:15PM +0800, Liao Yuanhong wrote:
quoted
Remove unnecessary semicolons.

Fixes: 86814d8ffd55f ("vsock/test: verify socket options after setting them")
Signed-off-by: Liao Yuanhong <redacted>
---
  tools/testing/vsock/util.c | 1 -
  1 file changed, 1 deletion(-)
diff --git a/tools/testing/vsock/util.c b/tools/testing/vsock/util.c
index 7b861a8e997a..d843643ced6b 100644
--- a/tools/testing/vsock/util.c
+++ b/tools/testing/vsock/util.c
@@ -756,7 +756,6 @@ void setsockopt_ull_check(int fd, int level, int optname,
  fail:
       fprintf(stderr, "%s  val %llu\n", errmsg, val);
       exit(EXIT_FAILURE);
-;
  }
This isn't a fixes since it doesn't fix a bug; it's cleanup so I'd probably
target net-next and drop the fixes tag.
Do you need me to resend the v2 version without the fixes tag?


Thanks,

Liao

Re: [PATCH] vsock/test: Remove redundant semicolons

From: Stefano Garzarella <sgarzare@redhat.com>
Date: 2025-08-27 07:45:46

On Wed, 13 Aug 2025 at 08:57, Liao Yuanhong [off-list ref] wrote:
On 8/13/2025 1:45 AM, Joe Damato wrote:
quoted
[You don't often get email from joe@dama.to. Learn why this is important at https://aka.ms/LearnAboutSenderIdentification ]

On Tue, Aug 12, 2025 at 12:01:15PM +0800, Liao Yuanhong wrote:
quoted
Remove unnecessary semicolons.

Fixes: 86814d8ffd55f ("vsock/test: verify socket options after setting them")
Signed-off-by: Liao Yuanhong <redacted>
---
  tools/testing/vsock/util.c | 1 -
  1 file changed, 1 deletion(-)
diff --git a/tools/testing/vsock/util.c b/tools/testing/vsock/util.c
index 7b861a8e997a..d843643ced6b 100644
--- a/tools/testing/vsock/util.c
+++ b/tools/testing/vsock/util.c
@@ -756,7 +756,6 @@ void setsockopt_ull_check(int fd, int level, int optname,
  fail:
       fprintf(stderr, "%s  val %llu\n", errmsg, val);
       exit(EXIT_FAILURE);
-;
  }
This isn't a fixes since it doesn't fix a bug; it's cleanup so I'd probably
target net-next and drop the fixes tag.
Do you need me to resend the v2 version without the fixes tag?
Yes, please.

Also target net-next:
https://docs.kernel.org/process/maintainer-netdev.html#indicating-target-tree

Thanks,
Stefano

Thanks,

Liao

Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help