RE: [PATCH] xfs: Convert comma to semicolon

Joarder, Souptick posted 1 patch 1 month ago
fs/xfs/xfs_aops.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
RE: [PATCH] xfs: Convert comma to semicolon
Posted by Joarder, Souptick 1 month ago


-----Original Message-----
From: Chen Ni <nichen@iscas.ac.cn> 
Sent: Friday, March 6, 2026 7:18 AM
To: cem@kernel.org
Cc: linux-xfs@vger.kernel.org; linux-kernel@vger.kernel.org; Chen Ni <nichen@iscas.ac.cn>
Subject: [PATCH] xfs: Convert comma to semicolon

Using a ',' in place of a ';' can have unintended side effects.
Although that is not the case here, it seems best to use ';'
unless ',' is intended.

Found by inspection.
No functional change intended.
Compile tested only.

Signed-off-by: Chen Ni <nichen@iscas.ac.cn>

Acked-by: Souptick Joarder <souptick.joarder@hpe.com>
---
 fs/xfs/xfs_aops.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/fs/xfs/xfs_aops.c b/fs/xfs/xfs_aops.c index f279055fcea0..79ec98c8f299 100644
--- a/fs/xfs/xfs_aops.c
+++ b/fs/xfs/xfs_aops.c
@@ -792,7 +792,7 @@ xfs_vm_readahead(
 {
 	struct iomap_read_folio_ctx	ctx = { .rac = rac };
 
-	ctx.ops = xfs_get_iomap_read_ops(rac->mapping),
+	ctx.ops = xfs_get_iomap_read_ops(rac->mapping);
 	iomap_readahead(&xfs_read_iomap_ops, &ctx, NULL);  }
 
--
2.25.1