diff options
author | Hariprasad Kelam <hariprasad.kelam@gmail.com> | 2019-04-06 16:29:36 +0530 |
---|---|---|
committer | Jaegeuk Kim <jaegeuk@kernel.org> | 2019-04-16 13:51:33 -0700 |
commit | adcc00f7dcbf0131070ecc750cf83ee1840f603d (patch) | |
tree | 52ed32b558bc8b2f9a64aac96ebe2990cbbd7d51 /fs/f2fs | |
parent | 126ce7214d213412bd4a23c731626ee7fe4cb4ec (diff) |
f2fs: data: fix warning Using plain integer as NULL pointer
changed passing function argument "0 to NULL" to fix below sparse
warning
fs/f2fs/data.c:426:47: warning: Using plain integer as NULL pointer
Signed-off-by: Hariprasad Kelam <hariprasad.kelam@gmail.com>
Reviewed-by: Chao Yu <yuchao0@huawei.com>
Reviewed-by: Mukesh Ojha <mojha@codeaurora.org>
Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
Diffstat (limited to 'fs/f2fs')
-rw-r--r-- | fs/f2fs/data.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/f2fs/data.c b/fs/f2fs/data.c index 9d3c11e09a03..0c582b388742 100644 --- a/fs/f2fs/data.c +++ b/fs/f2fs/data.c @@ -428,7 +428,7 @@ static void __submit_merged_write_cond(struct f2fs_sb_info *sbi, void f2fs_submit_merged_write(struct f2fs_sb_info *sbi, enum page_type type) { - __submit_merged_write_cond(sbi, NULL, 0, 0, type, true); + __submit_merged_write_cond(sbi, NULL, NULL, 0, type, true); } void f2fs_submit_merged_write_cond(struct f2fs_sb_info *sbi, |