[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <0ac17964-d5c3-47a6-b909-51d5fd60a355@huawei.com>
Date: Mon, 15 Apr 2024 10:48:37 +0800
From: Hongbo Li <lihongbo22@...wei.com>
To: Jiapeng Chong <jiapeng.chong@...ux.alibaba.com>,
<kent.overstreet@...ux.dev>
CC: <bfoster@...hat.com>, <linux-bcachefs@...r.kernel.org>,
<linux-kernel@...r.kernel.org>, Abaci Robot <abaci@...ux.alibaba.com>
Subject: Re: [PATCH] bcachefs: remove unneeded semicolon
Maybe it is not enough, you can use "grep -rn ');;' fs/bcachefs/" to
find out all the same format.
On 2024/4/15 10:35, Jiapeng Chong wrote:
> No functional modification involved.
>
> ./fs/bcachefs/super.c:1128:59-60: Unneeded semicolon.
> ./fs/bcachefs/super.c:1133:59-60: Unneeded semicolon.
>
> Reported-by: Abaci Robot <abaci@...ux.alibaba.com>
> Closes: https://bugzilla.openanolis.cn/show_bug.cgi?id=8755
> Signed-off-by: Jiapeng Chong <jiapeng.chong@...ux.alibaba.com>
> ---
> fs/bcachefs/super.c | 4 ++--
> 1 file changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/fs/bcachefs/super.c b/fs/bcachefs/super.c
> index 8daf80a38d60..234f19ea8f30 100644
> --- a/fs/bcachefs/super.c
> +++ b/fs/bcachefs/super.c
> @@ -1125,12 +1125,12 @@ static int bch2_dev_in_fs(struct bch_sb_handle *fs,
>
> prt_bdevname(&buf, fs->bdev);
> prt_char(&buf, ' ');
> - bch2_prt_datetime(&buf, le64_to_cpu(fs->sb->write_time));;
> + bch2_prt_datetime(&buf, le64_to_cpu(fs->sb->write_time));
> prt_newline(&buf);
>
> prt_bdevname(&buf, sb->bdev);
> prt_char(&buf, ' ');
> - bch2_prt_datetime(&buf, le64_to_cpu(sb->sb->write_time));;
> + bch2_prt_datetime(&buf, le64_to_cpu(sb->sb->write_time));
> prt_newline(&buf);
>
> if (!opts->no_splitbrain_check)
Powered by blists - more mailing lists