[PATCH] fs: omfs: Convert comma to semicolon

Chen Ni posted 1 patch 1 year, 5 months ago
fs/omfs/file.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
[PATCH] fs: omfs: Convert comma to semicolon
Posted by Chen Ni 1 year, 5 months ago
Replace a comma between expression statements by a semicolon.

Signed-off-by: Chen Ni <nichen@iscas.ac.cn>
---
 fs/omfs/file.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/fs/omfs/file.c b/fs/omfs/file.c
index 6b580b9da8e3..94cb3b454c6f 100644
--- a/fs/omfs/file.c
+++ b/fs/omfs/file.c
@@ -22,8 +22,8 @@ void omfs_make_empty_table(struct buffer_head *bh, int offset)
 	struct omfs_extent *oe = (struct omfs_extent *) &bh->b_data[offset];
 
 	oe->e_next = ~cpu_to_be64(0ULL);
-	oe->e_extent_count = cpu_to_be32(1),
-	oe->e_fill = cpu_to_be32(0x22),
+	oe->e_extent_count = cpu_to_be32(1);
+	oe->e_fill = cpu_to_be32(0x22);
 	oe->e_entry[0].e_cluster = ~cpu_to_be64(0ULL);
 	oe->e_entry[0].e_blocks = ~cpu_to_be64(0ULL);
 }
-- 
2.25.1
Re: [PATCH] fs: omfs: Convert comma to semicolon
Posted by Bob Copeland 1 year, 5 months ago
On Tue, Jul 09, 2024 at 02:51:51PM +0800, Chen Ni wrote:
> Replace a comma between expression statements by a semicolon.
> 
> Signed-off-by: Chen Ni <nichen@iscas.ac.cn>

Oops, good catch.

Acked-by: Bob Copeland <me@bobcopeland.com>

-- 
Bob Copeland %% https://bobcopeland.com/