All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] treewide:Unneeded semicolon
@ 2022-07-19  4:36 Xin Gao
  0 siblings, 0 replies; 4+ messages in thread
From: Xin Gao @ 2022-07-19  4:36 UTC (permalink / raw)
  To: anton; +Cc: linux-ntfs-dev, linux-kernel, Xin Gao

Unneeded semicolon

Signed-off-by: Xin Gao <gaoxin@cdjrlc.com>
---
 fs/ntfs/lcnalloc.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/fs/ntfs/lcnalloc.c b/fs/ntfs/lcnalloc.c
index eda9972e6159..66c2b29e09dd 100644
--- a/fs/ntfs/lcnalloc.c
+++ b/fs/ntfs/lcnalloc.c
@@ -899,7 +899,7 @@ s64 __ntfs_cluster_free(ntfs_inode *ni, const VCN start_vcn, s64 count,
 		}
 		/* We have freed @to_free real clusters. */
 		real_freed = to_free;
-	};
+	}
 	/* Go to the next run and adjust the number of clusters left to free. */
 	++rl;
 	if (count >= 0)
-- 
2.30.2


^ permalink raw reply related	[flat|nested] 4+ messages in thread

* Re: [PATCH] treewide: Unneeded semicolon
  2022-08-13 16:07 min tang
@ 2022-08-13 16:13 ` Conor.Dooley
  0 siblings, 0 replies; 4+ messages in thread
From: Conor.Dooley @ 2022-08-13 16:13 UTC (permalink / raw)
  To: tangmin, anton; +Cc: linux-ntfs-dev, linux-kernel

On 13/08/2022 17:07, min tang wrote:
> [PATCH] treewide: Unneeded semicolon

Hey, you might want to check whatever script you're using to
generate these commits. A single line change in a file isn't
exactly treewide...

> There is no semicolon after '}' in line 1615.

This doesn't really make much sense, maybe:
"Remove uneeded semicolon after..."
Thanks,
Conor.

> 
> Signed-off-by: min tang <tangmin@cdjrlc.com>
> ---
>  fs/ntfs/super.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/fs/ntfs/super.c b/fs/ntfs/super.c
> index 5ae8de09b271..d663b49df84e 100644
> --- a/fs/ntfs/super.c
> +++ b/fs/ntfs/super.c
> @@ -1612,7 +1612,7 @@ static bool load_and_init_attrdef(ntfs_volume *vol)
>  		memcpy((u8*)vol->attrdef + (index++ << PAGE_SHIFT),
>  				page_address(page), size);
>  		ntfs_unmap_page(page);
> -	};
> +	}
>  	if (size == PAGE_SIZE) {
>  		size = i_size & ~PAGE_MASK;
>  		if (size)

^ permalink raw reply	[flat|nested] 4+ messages in thread

* [PATCH] treewide: Unneeded semicolon
@ 2022-08-13 16:07 min tang
  2022-08-13 16:13 ` Conor.Dooley
  0 siblings, 1 reply; 4+ messages in thread
From: min tang @ 2022-08-13 16:07 UTC (permalink / raw)
  To: anton; +Cc: linux-ntfs-dev, linux-kernel, min tang

There is no semicolon after '}' in line 1615.

Signed-off-by: min tang <tangmin@cdjrlc.com>
---
 fs/ntfs/super.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/fs/ntfs/super.c b/fs/ntfs/super.c
index 5ae8de09b271..d663b49df84e 100644
--- a/fs/ntfs/super.c
+++ b/fs/ntfs/super.c
@@ -1612,7 +1612,7 @@ static bool load_and_init_attrdef(ntfs_volume *vol)
 		memcpy((u8*)vol->attrdef + (index++ << PAGE_SHIFT),
 				page_address(page), size);
 		ntfs_unmap_page(page);
-	};
+	}
 	if (size == PAGE_SIZE) {
 		size = i_size & ~PAGE_MASK;
 		if (size)
-- 
2.17.1


^ permalink raw reply related	[flat|nested] 4+ messages in thread

* [PATCH] treewide: Unneeded semicolon
@ 2022-08-13 15:29 min tang
  0 siblings, 0 replies; 4+ messages in thread
From: min tang @ 2022-08-13 15:29 UTC (permalink / raw)
  To: mst, jasowang; +Cc: virtualization, linux-kernel, min tang

There is no semicolon after '}' in line 78.

Signed-off-by: min tang <tangmin@cdjrlc.com>
---
 tools/virtio/virtio-trace/trace-agent-ctl.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tools/virtio/virtio-trace/trace-agent-ctl.c b/tools/virtio/virtio-trace/trace-agent-ctl.c
index 73d253d4b559..39860be6e2d8 100644
--- a/tools/virtio/virtio-trace/trace-agent-ctl.c
+++ b/tools/virtio/virtio-trace/trace-agent-ctl.c
@@ -75,7 +75,7 @@ static int wait_order(int ctl_fd)
 
 		if (ret)
 			break;
-	};
+	}
 
 	return ret;
 
-- 
2.17.1


^ permalink raw reply related	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2022-08-13 16:14 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-07-19  4:36 [PATCH] treewide:Unneeded semicolon Xin Gao
2022-08-13 15:29 [PATCH] treewide: Unneeded semicolon min tang
2022-08-13 16:07 min tang
2022-08-13 16:13 ` Conor.Dooley

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.