* [PATCH] NTFS:Remove unneeded semicolon
@ 2021-11-03 6:47 cgel.zte
0 siblings, 0 replies; 7+ messages in thread
From: cgel.zte @ 2021-11-03 6:47 UTC (permalink / raw)
To: anton; +Cc: linux-ntfs-dev, linux-kernel, Zhang Mingyu, Zeal Robot
From: Zhang Mingyu <zhang.mingyu@zte.com.cn>
Eliminate the following coccinelle check warning:
fs/ntfs/lcnalloc.c:902:2-3
Reported-by: Zeal Robot <zealci@zte.com.cn>
Signed-off-by: Zhang Mingyu <zhang.mingyu@zte.com.cn>
---
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.25.1
^ permalink raw reply related [flat|nested] 7+ messages in thread
* Re: [PATCH] ntfs: Remove unneeded semicolon
2022-11-05 15:31 [PATCH] ntfs: Remove " Shaomin Deng
2023-05-06 1:06 ` Namjae Jeon
@ 2023-05-19 10:01 ` Christian Brauner
1 sibling, 0 replies; 7+ messages in thread
From: Christian Brauner @ 2023-05-19 10:01 UTC (permalink / raw)
To: anton, linux-ntfs-dev, linux-kernel, Shaomin Deng; +Cc: Christian Brauner
On Sat, 05 Nov 2022 11:31:35 -0400, Shaomin Deng wrote:
> Remove the unneeded semicolon after curly braces.
>
>
Applied to the fs.ntfs branch of the vfs/vfs.git tree.
Patches in the fs.ntfs branch should appear in linux-next soon.
Please report any outstanding bugs that were missed during review in a
new review to the original patch series allowing us to drop it.
It's encouraged to provide Acked-bys and Reviewed-bys even though the
patch has now been applied. If possible patch trailers will be updated.
tree: https://git.kernel.org/pub/scm/linux/kernel/git/vfs/vfs.git
branch: fs.ntfs
[1/1] ntfs: Remove unneeded semicolon
https://git.kernel.org/vfs/vfs/c/6405fee9b0d0
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [PATCH] ntfs: Remove unneeded semicolon
2022-11-05 15:31 [PATCH] ntfs: Remove " Shaomin Deng
@ 2023-05-06 1:06 ` Namjae Jeon
2023-05-19 10:01 ` Christian Brauner
1 sibling, 0 replies; 7+ messages in thread
From: Namjae Jeon @ 2023-05-06 1:06 UTC (permalink / raw)
To: Shaomin Deng
Cc: anton, linux-ntfs-dev, Linux Kernel Mailing List, Christian Brauner
2022-11-06 0:31 GMT+09:00, Shaomin Deng <dengshaomin@cdjrlc.com>:
> Remove the unneeded semicolon after curly braces.
>
> Signed-off-by: Shaomin Deng <dengshaomin@cdjrlc.com>
Reviewed-by: Namjae Jeon <linkinjeon@kernel.org>
> ---
> fs/ntfs/super.c | 4 ++--
> 1 file changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/fs/ntfs/super.c b/fs/ntfs/super.c
> index 001f4e053c85..6165fe7d0ac6 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)
> @@ -1681,7 +1681,7 @@ static bool load_and_init_upcase(ntfs_volume *vol)
> memcpy((char*)vol->upcase + (index++ << PAGE_SHIFT),
> page_address(page), size);
> ntfs_unmap_page(page);
> - };
> + }
> if (size == PAGE_SIZE) {
> size = i_size & ~PAGE_MASK;
> if (size)
> --
> 2.35.1
>
>
^ permalink raw reply [flat|nested] 7+ messages in thread
* [PATCH] ntfs: Remove unneeded semicolon
@ 2022-11-05 15:31 Shaomin Deng
2023-05-06 1:06 ` Namjae Jeon
2023-05-19 10:01 ` Christian Brauner
0 siblings, 2 replies; 7+ messages in thread
From: Shaomin Deng @ 2022-11-05 15:31 UTC (permalink / raw)
To: anton, linux-ntfs-dev, linux-kernel; +Cc: Shaomin Deng
Remove the unneeded semicolon after curly braces.
Signed-off-by: Shaomin Deng <dengshaomin@cdjrlc.com>
---
fs/ntfs/super.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/fs/ntfs/super.c b/fs/ntfs/super.c
index 001f4e053c85..6165fe7d0ac6 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)
@@ -1681,7 +1681,7 @@ static bool load_and_init_upcase(ntfs_volume *vol)
memcpy((char*)vol->upcase + (index++ << PAGE_SHIFT),
page_address(page), size);
ntfs_unmap_page(page);
- };
+ }
if (size == PAGE_SIZE) {
size = i_size & ~PAGE_MASK;
if (size)
--
2.35.1
^ permalink raw reply related [flat|nested] 7+ messages in thread
* [PATCH] ntfs:Remove unneeded semicolon
@ 2021-11-05 1:39 cgel.zte
0 siblings, 0 replies; 7+ messages in thread
From: cgel.zte @ 2021-11-05 1:39 UTC (permalink / raw)
To: anton; +Cc: linux-ntfs-dev, linux-kernel, Zhang Mingyu, Zeal Robot
From: Zhang Mingyu <zhang.mingyu@zte.com.cn>
Eliminate the following coccinelle check warning:
fs/ntfs/super.c:1615:2-3
fs/ntfs/super.c:1684:2-3
Reported-by: Zeal Robot <zealci@zte.com.cn>
Signed-off-by: Zhang Mingyu <zhang.mingyu@zte.com.cn>
---
fs/ntfs/super.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/fs/ntfs/super.c b/fs/ntfs/super.c
index 5ae8de09b271..500e6bd7c827 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)
@@ -1681,7 +1681,7 @@ static bool load_and_init_upcase(ntfs_volume *vol)
memcpy((char*)vol->upcase + (index++ << PAGE_SHIFT),
page_address(page), size);
ntfs_unmap_page(page);
- };
+ }
if (size == PAGE_SIZE) {
size = i_size & ~PAGE_MASK;
if (size)
--
2.25.1
^ permalink raw reply related [flat|nested] 7+ messages in thread
* [PATCH] ntfs: Remove unneeded semicolon
@ 2021-11-03 2:09 cgel.zte
0 siblings, 0 replies; 7+ messages in thread
From: cgel.zte @ 2021-11-03 2:09 UTC (permalink / raw)
To: anton; +Cc: linux-ntfs-dev, linux-kernel, Changcheng Deng, Zeal Robot
From: Changcheng Deng <deng.changcheng@zte.com.cn>
Fix the following coccicheck review:
./fs/ntfs/super.c: 1615: 2-3: Review: Unneeded semicolon
./fs/ntfs/super.c: 1684: 2-3: Review: Unneeded semicolon
Reported-by: Zeal Robot <zealci@zte.com.cn>
Signed-off-by: Changcheng Deng <deng.changcheng@zte.com.cn>
---
fs/ntfs/super.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/fs/ntfs/super.c b/fs/ntfs/super.c
index 0d7e948cb29c..a45e06fa8a73 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)
@@ -1681,7 +1681,7 @@ static bool load_and_init_upcase(ntfs_volume *vol)
memcpy((char*)vol->upcase + (index++ << PAGE_SHIFT),
page_address(page), size);
ntfs_unmap_page(page);
- };
+ }
if (size == PAGE_SIZE) {
size = i_size & ~PAGE_MASK;
if (size)
--
2.25.1
^ permalink raw reply related [flat|nested] 7+ messages in thread
* [PATCH] ntfs: remove unneeded semicolon
@ 2021-02-03 1:46 Yang Li
0 siblings, 0 replies; 7+ messages in thread
From: Yang Li @ 2021-02-03 1:46 UTC (permalink / raw)
To: anton; +Cc: linux-ntfs-dev, linux-kernel, Yang Li
Eliminate the following coccicheck warning:
./fs/ntfs/super.c:1615:2-3: Unneeded semicolon
./fs/ntfs/super.c:1684:2-3: Unneeded semicolon
Reported-by: Abaci Robot <abaci@linux.alibaba.com>
Signed-off-by: Yang Li <yang.lee@linux.alibaba.com>
---
fs/ntfs/super.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/fs/ntfs/super.c b/fs/ntfs/super.c
index 0d7e948..a45e06f 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)
@@ -1681,7 +1681,7 @@ static bool load_and_init_upcase(ntfs_volume *vol)
memcpy((char*)vol->upcase + (index++ << PAGE_SHIFT),
page_address(page), size);
ntfs_unmap_page(page);
- };
+ }
if (size == PAGE_SIZE) {
size = i_size & ~PAGE_MASK;
if (size)
--
1.8.3.1
^ permalink raw reply related [flat|nested] 7+ messages in thread
end of thread, other threads:[~2023-05-19 10:01 UTC | newest]
Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-11-03 6:47 [PATCH] NTFS:Remove unneeded semicolon cgel.zte
-- strict thread matches above, loose matches on Subject: below --
2022-11-05 15:31 [PATCH] ntfs: Remove " Shaomin Deng
2023-05-06 1:06 ` Namjae Jeon
2023-05-19 10:01 ` Christian Brauner
2021-11-05 1:39 [PATCH] ntfs:Remove " cgel.zte
2021-11-03 2:09 [PATCH] ntfs: Remove " cgel.zte
2021-02-03 1:46 [PATCH] ntfs: remove " Yang Li
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.