bcachefs: remove unneeded semicolon
PATCH 1/1 bcachefs: remove unneeded semicolon
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 <[email protected]>
Signed-off-by Jiapeng Chong <[email protected]>
--- fs/bcachefs/super.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
fs/bcachefs/super.c +2 -2
@@ -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)
Signature · 1 line
2.20.1.7.g153144c
Maybe it is not enough, you can use "grep -rn ');;' fs/bcachefs/" to find out all the same format.
Quoted 31 lines · Jiapeng Chong
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 <[email protected]>Signed-off-by Jiapeng Chong <[email protected]>--- fs/bcachefs/super.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)fs/bcachefs/super.c +2
-2@@ -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)
I remember other people also submit this likely patch:
https://lore.kernel.org/linux-bcachefs/[email protected]/
https://lore.kernel.org/linux-bcachefs/[email protected]/
Quoted 31 lines · Jiapeng Chong
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 <[email protected]>Signed-off-by Jiapeng Chong <[email protected]>--- fs/bcachefs/super.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)fs/bcachefs/super.c +2
-2@@ -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)