Skip to contentSkip to conversation

f2fs: modify open brace '{' following function definitions

PATCH In review Yi Zhuang 2 participants 2 messages Apr 6, 2021 F2FS file system

lore
Share & tools
lore

Yi Zhuang

author
#0 lore raw

PATCH 1/1 f2fs: modify open brace '{' following function definitions

Made suggested modifications from checkpatch in reference to ERROR:
open brace '{' following function definitions go on the next line

---
 fs/f2fs/segment.c | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)
fs/f2fs/segment.c +4 -2
index 213cc1b8279a..301121dc9f75 100644
@@ -4764,7 +4764,8 @@ static struct f2fs_dev_info *get_target_zoned_dev(struct f2fs_sb_info *sbi,
 }
 
 static int report_one_zone_cb(struct blk_zone *zone, unsigned int idx,
-			      void *data) {
+			      void *data)
+{
 	memcpy(data, zone, sizeof(struct blk_zone));
 	return 0;
 }
@@ -4880,7 +4881,8 @@ struct check_zone_write_pointer_args {
 };
 
 static int check_zone_write_pointer_cb(struct blk_zone *zone, unsigned int idx,
-				      void *data) {
+				      void *data)
+{
 	struct check_zone_write_pointer_args *args;
 	args = (struct check_zone_write_pointer_args *)data;
 
Signature · 8 lines
2.26.0.106.g9fadedd



_______________________________________________
Linux-f2fs-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/linux-f2fs-devel