Skip to contentSkip to conversation

treewide: Unneeded semicolon

PATCH In review min tang 2 participants 2 messages Aug 13, 2022 NTFS filesystem

lore
Share & tools
lore

min tang

author
#0 lore raw

PATCH 1/1 treewide: Unneeded semicolon

There is no semicolon after '}' in line 1615.

---
 fs/ntfs/super.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
fs/ntfs/super.c +1 -1
index 5ae8de09b271..d663b49df84e 100644
@@ -1612,7 +1612,7 @@ static bool load_and_init_attrdef(ntfs_volume *vol)
 		memcpy((u8*)vol->attrdef + (index++ << PAGE_SHIFT),
 				page_address(page), size);
 		ntfs_unmap_page(page);
-	};
+	}
 	if (size == PAGE_SIZE) {
 		size = i_size & ~PAGE_MASK;
 		if (size)
Signature · 1 line
2.17.1
#1 lore raw
Quoted 1 line · min tang

[PATCH] treewide: Unneeded semicolon

Hey, you might want to check whatever script you're using to generate these commits. A single line change in a file isn't exactly treewide...

Quoted 1 line

There is no semicolon after '}' in line 1615.

This doesn't really make much sense, maybe:
"Remove uneeded semicolon after..."
Thanks,
Conor.

Quoted 19 lines
---
 fs/ntfs/super.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
fs/ntfs/super.c +1 -1
index 5ae8de09b271..d663b49df84e 100644
@@ -1612,7 +1612,7 @@ static bool load_and_init_attrdef(ntfs_volume *vol)
 		memcpy((u8*)vol->attrdef + (index++ << PAGE_SHIFT),
 				page_address(page), size);
 		ntfs_unmap_page(page);
-	};
+	}
 	if (size == PAGE_SIZE) {
 		size = i_size & ~PAGE_MASK;
 		if (size)