* [f2fs-dev] [PATCH -next] f2fs: modify open brace '{' following function definitions
@ 2021-04-06 1:47 Yi Zhuang
2021-04-06 9:30 ` Chao Yu
0 siblings, 1 reply; 2+ messages in thread
From: Yi Zhuang @ 2021-04-06 1:47 UTC (permalink / raw)
To: jaegeuk, chao, linux-f2fs-devel
Made suggested modifications from checkpatch in reference to ERROR:
open brace '{' following function definitions go on the next line
Signed-off-by: Yi Zhuang <zhuangyi1@huawei.com>
---
fs/f2fs/segment.c | 6 ++++--
1 file changed, 4 insertions(+), 2 deletions(-)
diff --git a/fs/f2fs/segment.c b/fs/f2fs/segment.c
index 213cc1b8279a..301121dc9f75 100644
--- a/fs/f2fs/segment.c
+++ b/fs/f2fs/segment.c
@@ -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;
--
2.26.0.106.g9fadedd
_______________________________________________
Linux-f2fs-devel mailing list
Linux-f2fs-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/linux-f2fs-devel
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [f2fs-dev] [PATCH -next] f2fs: modify open brace '{' following function definitions
2021-04-06 1:47 [f2fs-dev] [PATCH -next] f2fs: modify open brace '{' following function definitions Yi Zhuang
@ 2021-04-06 9:30 ` Chao Yu
0 siblings, 0 replies; 2+ messages in thread
From: Chao Yu @ 2021-04-06 9:30 UTC (permalink / raw)
To: Yi Zhuang, jaegeuk, chao, linux-f2fs-devel
On 2021/4/6 9:47, Yi Zhuang wrote:
> Made suggested modifications from checkpatch in reference to ERROR:
> open brace '{' following function definitions go on the next line
>
> Signed-off-by: Yi Zhuang <zhuangyi1@huawei.com>
Reviewed-by: Chao Yu <yuchao0@huawei.com>
Thanks,
_______________________________________________
Linux-f2fs-devel mailing list
Linux-f2fs-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/linux-f2fs-devel
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2021-04-06 9:31 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-04-06 1:47 [f2fs-dev] [PATCH -next] f2fs: modify open brace '{' following function definitions Yi Zhuang
2021-04-06 9:30 ` Chao Yu
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).