public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH -next] f2fs: Remove unneeded semicolon
@ 2023-02-02  1:01 Yang Li
  2023-02-02 21:37 ` Jaegeuk Kim
  0 siblings, 1 reply; 2+ messages in thread
From: Yang Li @ 2023-02-02  1:01 UTC (permalink / raw)
  To: jaegeuk; +Cc: chao, linux-f2fs-devel, linux-kernel, Yang Li, Abaci Robot

./fs/f2fs/checkpoint.c:1485:55-56: Unneeded semicolon

Reported-by: Abaci Robot <abaci@linux.alibaba.com>
Link: https://bugzilla.openanolis.cn/show_bug.cgi?id=3925
Signed-off-by: Yang Li <yang.lee@linux.alibaba.com>
---
 fs/f2fs/checkpoint.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/fs/f2fs/checkpoint.c b/fs/f2fs/checkpoint.c
index b1b39c17f2d8..b7ef8cd10b10 100644
--- a/fs/f2fs/checkpoint.c
+++ b/fs/f2fs/checkpoint.c
@@ -1482,7 +1482,7 @@ static int do_checkpoint(struct f2fs_sb_info *sbi, struct cp_control *cpc)
 	for (i = 0; i < NR_CURSEG_DATA_TYPE; i++) {
 		struct curseg_info *curseg = CURSEG_I(sbi, i + CURSEG_HOT_DATA);
 
-		ckpt->cur_data_segno[i] = cpu_to_le32(curseg->segno);;
+		ckpt->cur_data_segno[i] = cpu_to_le32(curseg->segno);
 		ckpt->cur_data_blkoff[i] = cpu_to_le16(curseg->next_blkoff);
 		ckpt->alloc_type[i + CURSEG_HOT_DATA] = curseg->alloc_type;
 	}
-- 
2.20.1.7.g153144c


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

* Re: [PATCH -next] f2fs: Remove unneeded semicolon
  2023-02-02  1:01 [PATCH -next] f2fs: Remove unneeded semicolon Yang Li
@ 2023-02-02 21:37 ` Jaegeuk Kim
  0 siblings, 0 replies; 2+ messages in thread
From: Jaegeuk Kim @ 2023-02-02 21:37 UTC (permalink / raw)
  To: Yang Li; +Cc: chao, linux-f2fs-devel, linux-kernel, Abaci Robot

Thanks, but applied the fix in the original patch.

On 02/02, Yang Li wrote:
> ./fs/f2fs/checkpoint.c:1485:55-56: Unneeded semicolon
> 
> Reported-by: Abaci Robot <abaci@linux.alibaba.com>
> Link: https://bugzilla.openanolis.cn/show_bug.cgi?id=3925
> Signed-off-by: Yang Li <yang.lee@linux.alibaba.com>
> ---
>  fs/f2fs/checkpoint.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/fs/f2fs/checkpoint.c b/fs/f2fs/checkpoint.c
> index b1b39c17f2d8..b7ef8cd10b10 100644
> --- a/fs/f2fs/checkpoint.c
> +++ b/fs/f2fs/checkpoint.c
> @@ -1482,7 +1482,7 @@ static int do_checkpoint(struct f2fs_sb_info *sbi, struct cp_control *cpc)
>  	for (i = 0; i < NR_CURSEG_DATA_TYPE; i++) {
>  		struct curseg_info *curseg = CURSEG_I(sbi, i + CURSEG_HOT_DATA);
>  
> -		ckpt->cur_data_segno[i] = cpu_to_le32(curseg->segno);;
> +		ckpt->cur_data_segno[i] = cpu_to_le32(curseg->segno);
>  		ckpt->cur_data_blkoff[i] = cpu_to_le16(curseg->next_blkoff);
>  		ckpt->alloc_type[i + CURSEG_HOT_DATA] = curseg->alloc_type;
>  	}
> -- 
> 2.20.1.7.g153144c

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

end of thread, other threads:[~2023-02-02 21:37 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-02-02  1:01 [PATCH -next] f2fs: Remove unneeded semicolon Yang Li
2023-02-02 21:37 ` Jaegeuk Kim

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox