f2fs: modify open brace '{' following function definitions
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
Signed-off-by Yi Zhuang <[email protected]>
--- fs/f2fs/segment.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-)
fs/f2fs/segment.c +4 -2
@@ -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
Quoted 4 lines · Yi Zhuang
Made suggested modifications from checkpatch in reference to ERROR:
open brace '{' following function definitions go on the next lineSigned-off-by Yi Zhuang <[email protected]>
Reviewed-by Chao Yu <[email protected]>
Thanks,
_______________________________________________
Linux-f2fs-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/linux-f2fs-devel